auto-crypto.ml : Auto Faucet

Auto claims BNB and DOGE Faucets

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name         auto-crypto.ml : Auto Faucet
// @namespace    auto.crypto.auto.faucet
// @version      1.4
// @description  Auto claims BNB and DOGE Faucets
// @author       stealtosvra
// @match        https://auto-crypto.ml/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=auto-crypto.ml
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // INSERT CRYPTO ADDRESSES
    const bnb = "0xDD9cb7e222Bdd926E8d8aB1E8574e6A584c0F122";
    const doge = "DLtH8LwRsMsdy3GhqjA36BzBMQHzKYuNSN";

    const inputElement = document.querySelector('input[type="text"].form-control');
    const formGroups = document.querySelectorAll("div.form-group");

    for (let i = 0; i < formGroups.length; i++) {
        const formGroup = formGroups[i];
        if (formGroup.querySelector("span") && formGroup.querySelector("span").textContent.includes("BNB")) {
            inputElement.value = bnb;
        }
    }

    for (let i = 0; i < formGroups.length; i++) {
        const formGroup = formGroups[i];
        if (formGroup.querySelector("span") && formGroup.querySelector("span").textContent.includes("DOGE")) {
            inputElement.value = doge;
        }
    }

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

    setInterval(function() {
        if (hCaptcha()) {
            document.querySelector('input.btn.btn-warning.btn.claim-button').click();
        }
    }, 5000);

    const reloadDelay = 70 * 1000;
    setTimeout(function() {
        location.reload();
    }, reloadDelay);

})();