Helper
Helper
Helper
// ==Configuration==
const blacklistedUrls = [
"miped.ru",
"www.indiegala",
"https://gleam.io/"
];
// ==/Configuration==
// ==Code==
const url = window.location !== window.parent.location ? document.referrer :
document.location.href;
if (isNotBlackListed(url)) {
if (location.href.includes("kolotibablo.com/workers/earn")) {
var clickCheck = setInterval(function() {
if (document.querySelectorAll(".recaptcha-checkbox-checkmark").length >
0) {
clearInterval(clickCheck);
document.querySelector(".recaptcha-checkbox-checkmark").click();
}
}, 50);
} else {
window.onload = readyToHelp;
}
}
function readyToHelp() {
var execCheck = setInterval(function() {
if (window.grecaptcha && window.grecaptcha.execute) {
clearInterval(execCheck);
try { window.grecaptcha.execute(); } catch(e) {}
}
}, 50);
[...document.forms].forEach(form => {
if (form.innerHTML.includes("kolotibablo.com/workers/earn")) {
var solveCheck = setInterval(function() {
if (window.grecaptcha && !!grecaptcha.getResponse()) {
clearInterval(solveCheck);
form.submit();
}
}, 50);
}
});
}
function isNotBlackListed(url) {
return blacklistedUrls.every(bu => !url.includes(bu));
}
// ==/Code==