CryptoTapBot Auto-Clicker

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

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

You will need to install an extension such as Tampermonkey to install this script.

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

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

你需要先安裝一款使用者腳本管理器擴展,比如 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);

})();