Greasy Fork is available in English.

Coingux Bot (Need Captcha Solver Extension)

bypass manual faucet auto ptc iframe!

// ==UserScript==
// @name         Coingux Bot (Need Captcha Solver Extension)
// @namespace    coingux.com
// @version      20240508
// @description  bypass manual faucet auto ptc iframe!
// @author       Script Bot Dev
// @match        https://coingux.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=feyorra.site
// @grant        none
// ==/UserScript==

var BOT = setInterval(function() {
 //login
    if(document.querySelector('a[href="https://coingux.com/login"]:not(:empty)')){
       window.location.href = "/login";
        clearInterval(BOT);
    }
if(window.location.href.includes("/login")){
    document.querySelector("#email").value = "seuemail@gmail.com";
    document.querySelector("#password").value = "suasenha";
    if((document.querySelector(".cf-turnstile")) && document.querySelector(".cf-turnstile > input").value > ""){
                document.querySelector("form").submit();
                clearInterval(BOT);
            }
}
    //// redirect faucet
    if(window.location.href.includes("/dashboard")){
        window.location.href = "/claim";
        clearInterval(BOT);
    }
}, 500);

if (window.location.href === "https://coingux.com/claim") {
    if(document.body.outerText.includes("Complete the captcha to get started!") === true && document.body.outerText.includes("Step") === false){
        console.log("captcha Anti Bot encontrado...");
        var CAPTCHA = setInterval(function() {
            if(document.querySelector(".cf-turnstile")){
             console.log("captcha cloudflare encontrado...");
            var cloudflare = document.querySelector(".cf-turnstile > input").value;
            if((cloudflare) && cloudflare > ""){
                document.querySelector("#fauform").submit();
                console.log("captcha Anti Bot resolvido!");
                clearInterval(CAPTCHA);
            }
            }
if(document.querySelector(".iconcaptcha-modal__body-title")){
             console.log("iconcaptcha encontrado...");
            var iconcaptcha = document.querySelector(".iconcaptcha-modal__body-title").innerText;
            if((iconcaptcha) && iconcaptcha === "VERIFICATION COMPLETE."){
                document.querySelector("#fauform").submit();
                console.log("captcha Anti Bot resolvido!");
                clearInterval(CAPTCHA);
            }
            }
            if(document.querySelector("#recaptchav2 > div")){
                console.log("captcha Google encontrado...");
            var recaptcha = document.querySelector("#g-recaptcha-response").value;
               if((recaptcha) && recaptcha > ""){
                document.querySelector("#fauform").submit();
                   console.log("captcha Anti Bot resolvido!");
                   clearInterval(CAPTCHA);
            }
            }


         }, 500);
    }else{
var BP = setInterval(function() {
    console.log("procurando captcha...");
var element = document.querySelector('.captcha-icon');
if (element) {
    console.log("captcha icon encontrado...");
    var classes = element.classList;
    var classesArray = Array.from(classes);

	var elementToClick = document.querySelector('#icon-options .'+classesArray[2]);
if (elementToClick) {
    elementToClick.click();
    console.log("captcha icon solucionado!");
	Clam();
	clearInterval(BP);
}
}
}, 500);

function Clam(){
	var Clamar = setInterval(function() {
	var sucesso = document.querySelector('#captcha-result .bg-success');
	if(sucesso){
        console.log("claim!");
	  setTimeout(document.getElementById('fauform').submit(), 50);
	clearInterval(Clamar);
	}
	}, 500);
}

}
   setTimeout(function() {window.location.reload();}, 40000);
}

if (window.location.href.includes("/ads/frame/")) {
    //Captcha
  var PTC2 = setInterval(function() {
   var contador = document.querySelector("#ptcCountdown").textContent;
      if(contador === "Completed"){
var element = document.querySelector('.captcha-icon');
if (element) {
    var classes = element.classList;
    var classesArray = Array.from(classes);

	var elementToClick = document.querySelector('#icon-options .'+classesArray[2]);
if (elementToClick) {
    elementToClick.click();
	setTimeout(function() {Clam();}, 500);
	clearInterval(PTC2);
}
}
}
}, 500);
    //Click claim
function Clam(){
	var Clamar = setInterval(function() {
	var sucesso = document.querySelector('#captcha-result .bg-success');
	if(sucesso){
	  setTimeout(function() {document.getElementById('ptcform').submit();}, 500);
	clearInterval(Clamar);
	}
	}, 500);
}
    setTimeout(function() {window.location.reload();}, 30000);
}

if (window.location.href === "https://coingux.com/ads") {

    var PTC = setInterval(function() {
if(document.querySelector("#iframe > div > div > div > div > div:nth-child(1)")){
    document.querySelector("div > div > div.mt-1 > a").click();
      setTimeout(function(){window.location.reload();}, 30000);
    clearInterval(PTC);
    }
}, 500);
}
setTimeout(function(){window.location.reload();}, 60000);