// ==UserScript== // @name miningblocks.club PTC // @namespace http://tampermonkey.net/ // @version 1.1 // @description Earn free crypto // @author MrBug // @match https://miningblocks.club/* // @icon https://www.google.com/s2/favicons?sz=64&domain=miningblocks.club // @grant none // ==/UserScript== (function() { 'use strict'; var mailaddress = "XXXXXXXXXXXXXXXX" // Type here your email address var password = "XXXXXXXX" // Type here your password setTimeout(function ads() { let nads = document.querySelector("p#PTCStatus") let goad = document.querySelector("button#btnVerAds") if (window.location.href.includes("Dashboard") && nads.innerText == 'PTC ADS AVAILABLE') { goad.click() }}, 8000) let claimad = setInterval(function claimad() { let boton = document.querySelector("button#btnClaim") if (window.location.href.includes("ViewPTC") && boton && boton.style.display !== 'none') { boton.click() clearInterval(claimad) }}, 7000) let claim = setInterval(function claim() { let hcaptcha = document.querySelector('.h-captcha > iframe') let boton = document.querySelector("button#btnClaim") if (window.location.href.includes("Claim") && boton && hcaptcha && hcaptcha.hasAttribute('data-hcaptcha-response') && hcaptcha.getAttribute('data-hcaptcha-response').length > 0) { boton.click() clearInterval(claim) }}, 10000) setTimeout(function redirlogin() { if (window.location.href == "https://miningblocks.club/" || window.location.href == "https://miningblocks.club") { window.location.replace("https://miningblocks.club/Auth/LogIn") }}, 20000) let login = setInterval(function login() { let hcaptcha = document.querySelector('.h-captcha > iframe') let boton = document.querySelector("button#btnLogIn") let addressform = document.querySelector("input#txtCorreo") let passform = document.querySelector("input#txtPassword") if (window.location.href.includes("LogIn") && boton && hcaptcha && hcaptcha.hasAttribute('data-hcaptcha-response') && hcaptcha.getAttribute('data-hcaptcha-response').length > 0 && addressform.value !== mailaddress && passform.value !== password) { addressform.value = mailaddress passform.value = password setTimeout(function() { boton.click() }, 2000) clearInterval(login) }}, 10000) setTimeout(function ref() { if (window.location.href.includes("Register")) { window.location.replace("https://miningblocks.club/Register/NewUser?Referral=47675") }}, 2000) setTimeout(function() { if (window.location.href.includes("Dashboard")) { window.location.replace("https://miningblocks.club/Faucet/Claim") }}, 15000) setTimeout(function() { if (window.location.href.includes("Claim")) { window.location.replace("https://miningblocks.club/Faucet/Claim") }}, 15*60000) // Your code here... })();