freeusdt.eu automatization by Terminator.Scripts
// ==UserScript==
// @name freeusdt.eu
// @version 1.0
// @author Terminator.Scripts
// @namespace freeusdt.eu automatization by Terminator.Scripts
// @description freeusdt.eu automatization by Terminator.Scripts
// @match https://bitcotasks.com//lead/*
// @match https://bitcotasks.com/lead/*
// @match https://freeusdt.eu/dashboard
// @match https://freeusdt.eu/dashboard.php
// @match *://*/*
// @require https://code.jquery.com/jquery-latest.min.js
// @run-at document-idle
// @noframes
// @grant window.close
// @grant GM_webRequest
// @license All Rights Reserved
// This code is for viewing only. No modification, redistribution,
// or commercial use is permitted without explicit written permission.
// ==/UserScript==
(function() {
'use strict';
if(location.host == "freeusdt.eu") {
setTimeout(function () {
var ads = $(".bi-box-arrow-up-right");
if (ads.length > 0) {
document.title = "PROC";
$(".bi-box-arrow-up-right:first").click();
setTimeout(function () {
window.close();
}, 150);
} else {
setInterval(() => {
var adsCheck = $(".bi-box-arrow-up-right");
if (adsCheck.length > 0) {
location.reload();
}
}, 30000);
}
}, 5*1000);
}
else if (location.host == 'bitcotasks.com') {
if (location.href.includes('lead')) {
setTimeout(function () {
$.ajax({
url: window.location.href,
method: 'POST',
data: { action: 'start_view' },
success: function(response) {
window_focus = true;
--timer;
const count = setInterval(() => {
if (timer < 0) {
clearInterval(count);
showCaptcha();
setInterval(function () {
document.title ="Claim Reward!";
}, 2000 );
}
document.title = timer;
--timer;
}, 1000);
}
});
}, 1000 );
var check = setInterval(function () {
console.log("c1");
if($(".ptc-alert-warning").is(":visible") !== false) {
document.title ="Claim Reward!";
}
if (document.title == "Claim Reward!") {
clearInterval(check);
var check2 = setInterval(function () {
if ($(".selected.first").is(":visible") !== false) {
console.log("c1");
clearInterval(check2);
$('[type="button"]:contains("Verify")').click();
}
}, 1000);
}
}, 1000);
var check0 = setInterval(function () {
if( $(':contains("Failed! Please reload the page.")').is(":visible") !== false ) {
clearInterval(check0);
location.reload();
}
}, 2000);
var check9 = setInterval(function () {
if ($('.ptc-alert-success:visible').text().includes("This offer was successfully completed!")) {
clearInterval(check9);
location.href = "https://freeusdt.eu/dashboard";
}
}, 50);
setTimeout(function () {
location.reload();
}, (5 * 60 * 1000));
}
} else if (document.referrer.includes('bitcotasks.com') && !location.host.includes("freeusdt.eu")) {
location.href = "https://freeusdt.eu/dashboard";
}
})();