Bitcolapse Auto-Claim

Automatically fills email, waits for hCaptcha, and clicks submit after 10 seconds.

在您安装前,Greasy Fork 希望您知道此脚本声明其包含了一些负面功能。这些功能也许会使脚本作者获利,而不能给您带来任何直接的金钱收益。

作者可从这份脚本获得佣金,例如通过修改链接地址或提供优惠券代码以包含推荐或附属代码。 脚本作者的说明: Directs to a referral link when not logged in

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// ==UserScript==
// @name         Bitcolapse Auto-Claim
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Automatically fills email, waits for hCaptcha, and clicks submit after 10 seconds. 
// @author       Wphelp
// @match        https://bitcolapse.fun/*
// @antifeature  referral-link Directs to a referral link when not logged in
// @license      Copyright Wphelp
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // Redirect to referral link if not already using it
    if (!window.location.search.includes('[email protected]')) {
        window.location.href = 'https://bitcolapse.fun/[email protected]';
        return; // Stop execution after redirect
    }

    // Main automation function
    function automateProcess() {
        // Fill email field
        const emailField = document.querySelector('input[name="email"]');
        if (emailField) {
            emailField.value = 'Add your email here';
            emailField.dispatchEvent(new Event('input', { bubbles: true }));
        }

        let captchaSolved = false;
        const checkCaptcha = setInterval(() => {
            // Check if hCaptcha is solved
            const iframe = document.querySelector('iframe[data-hcaptcha-response]');
            if (iframe && iframe.dataset.hcaptchaResponse) {
                captchaSolved = true;
                clearInterval(checkCaptcha);
                console.log('hCaptcha solved detected');

                // Wait 30 seconds after captcha solve then click button
                setTimeout(() => {
                    const submitBtn = document.querySelector('button[type="submit"]');
                    if (submitBtn) {
                        submitBtn.click();
                        console.log('Submit button clicked');
                    }
                }, 10000);
            }
        }, 1000);
    }

    // Run after page loads
    window.addEventListener('load', automateProcess);
})();