topfaucet.top : Auto Faucet

https://ouo.io/g0EbKIi

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         topfaucet.top : Auto Faucet
// @namespace    topfaucet.auto.faucet
// @version      1.1
// @description  https://ouo.io/g0EbKIi
// @author       stealtosvra
// @match        https://topfaucet.top/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=sato.host
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    function hCaptcha() {return grecaptcha && grecaptcha.getResponse().length !== 0;}

    if (document.querySelector('.alert.alert-info').textContent.trim() === 'Your faucet claim of 0.00005000 USDT has been sent to your FaucetPay.io account.') {
        setTimeout(function() {
            console.log('Waited for 3 minutes');
            setInterval(function() {
                if (hCaptcha()) {
                    document.querySelector("input[type='submit']").click();
                } else {
          console.log('hCaptcha not found or response is empty');
          document.querySelector("input[type='submit']").click();
        }
            }, 7000);
        }, 180000);
    } else {
       if (hCaptcha()) {
                    document.querySelector("input[type='submit']").click();
                } else {
          console.log('hCaptcha not found or response is empty');
          document.querySelector("input[type='submit']").click();
        }
    }

})();