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

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램을 설치해야 합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 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);
})();