CryptoTapBot Auto-Clicker

Auto-login + 1000 clicks @1ms with anti-stuck protection

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         CryptoTapBot Auto-Clicker
// @namespace    UserScripts
// @match        https://cyptotapbot.fun/*
// @description  Auto-login + 1000 clicks @1ms with anti-stuck protection
// @author       Rubystance
// @license      MIT
// @grant        none
// @version      1.2
// ==/UserScript==

(function () {
    'use strict';

    const YOUR_EMAIL = "YOUR_FAUCETPAY_EMAIL_HERE"; // << YOUR_FAUCETPAY_EMAIL
    const REF_LINK = "https://cyptotapbot.fun/[email protected]";

    const CLICK_DELAY = 1;
    const MAX_CLICKS = 1000;
    const STUCK_TIMEOUT = 10000;

    let isClicking = false;
    let stuckTimer = null;

    function checkReference() {
        if (
            window.location.href === "https://cyptotapbot.fun/" ||
            window.location.href === "https://cyptotapbot.fun"
        ) {
            console.log("[CTB] Redirecting to ref link...");
            window.location.replace(REF_LINK);
        }
    }

    function login() {
        const input = document.querySelector('#login-email');
        const btn = document.querySelector('#submit-btn');

        if (!input || !btn) return;

        if (input.value === "") {
            input.value = YOUR_EMAIL;
            input.dispatchEvent(new Event('input', { bubbles: true }));
            console.log("[CTB] Email filled");

            setTimeout(() => {
                btn.click();
                console.log("[CTB] Login clicked");
            }, 800);
        }
    }

    function performClicks() {
        if (isClicking) return;

        const clickArea = document.querySelector('.absolute.inset-8.rounded-full');
        if (!clickArea) return;

        isClicking = true;
        let count = 0;

        console.log("[CTB] Energy full → starting 1000 clicks @1ms");

        const interval = setInterval(() => {
            clickArea.click();
            count++;

            if (count >= MAX_CLICKS) {
                clearInterval(interval);
                isClicking = false;
                console.log("[CTB] Click cycle finished");
            }
        }, CLICK_DELAY);
    }

    function monitorEnergy() {
        const energyText = document.querySelector('#e-text');
        if (!energyText) return;

        if (energyText.innerText.includes("1000/1000")) {
            performClicks();

            if (!stuckTimer) {
                stuckTimer = setTimeout(() => {
                    console.warn("[CTB] Stuck detected → reloading");
                    location.reload();
                }, STUCK_TIMEOUT);
            }
        } else {
            if (stuckTimer) {
                clearTimeout(stuckTimer);
                stuckTimer = null;
            }
        }
    }

    checkReference();
    setInterval(login, 3000);
    setInterval(monitorEnergy, 1000);

})();