// ==UserScript== // @name Gulio Faucet and PTC // @namespace http://tampermonkey.net/ // @version 1 // @description Claim Faucet, PTC // @author Basilio // @match https://gulio.site/* // @icon https://www.google.com/s2/favicons?sz=64&domain=gulio.site // @grant GM_xmlhttpRequest // @grant GM_setValue // @grant GM_getValue // @license MIT // ==/UserScript== (function() { 'use strict'; var email = "";////EXAMPLE//// var password = "";////EXAMPLE//// function isCaptchaChecked() { return grecaptcha && grecaptcha.getResponse().length !== 0; } /////Login//// if(window.location.href === "https://gulio.site/"){ window.location.replace("https://gulio.site/login")} if(window.location.href.includes("https://gulio.site/login")){ setInterval(function() { if (document.querySelector("input[name='email']")) { document.querySelector("input[name='email']").value = email; } if (document.querySelector("input[name='password']")) { document.querySelector("input[name='password']").value = password; } }, 1000); setInterval(function() { if (isCaptchaChecked()) { if (document.querySelector("button[type='submit']")) { document.querySelector("button[type='submit']").click(); } } }, 6000); } //////Faucet/////// if(window.location.href.includes("https://gulio.site/dashboard")){ window.location.replace("https://gulio.site/faucet")} if(window.location.href === "https://gulio.site/faucet?"){ window.location.replace("ttps://gulio.site/faucet")} if(window.location.href.includes("https://gulio.site/faucet")){ setInterval(function(){ if (isCaptchaChecked()) { if(document.querySelector("button[type='submit']")){ document.querySelector("button[type='submit']").click(); } } }, 2000); } ////////PTC////// if(window.location.href === "https://gulio.site/ptc"){ if(document.querySelector(".btn.btn-primary.btn-block")){ document.querySelector(".btn.btn-primary.btn-block").click();}} if(window.location.href.includes("https://gulio.site/ptc/view")){ setInterval(function(){ if (isCaptchaChecked()) { document.querySelector("button[type='submit']").click(); } }, 3000); } //Redirecionamento if (window.location.href.includes("https://gulio.site/faucet") && document.getElementById('second')){ window.location.replace("https://gulio.site/ptc")} if (window.location.href.includes("https://gulio.site/ptc") && document.body.innerHTML.includes("There is PTC Ad left")){ window.location.replace("https://gulio.site/faucet")} })();