TRX LTC DOGE SOL POL TON SUI BNB Pick.io Auto-Claim

Select IconCaptcha, auto-claim

// ==UserScript==
// @name         TRX LTC DOGE SOL POL TON SUI BNB Pick.io Auto-Claim
// @namespace    http://tampermonkey.net/
// @version      1.5
// @description  Select IconCaptcha, auto-claim
// @author       👽
// @match        https://tronpick.io/faucet.php
// @match        https://litepick.io/faucet.php
// @match        https://dogepick.io/faucet.php
// @match        https://solpick.io/faucet.php
// @match        https://polpick.io/faucet.php
// @match        https://tonpick.game/faucet.php
// @match        https://suipick.io/faucet.php
// @match        https://bnbpick.io/faucet.php
// @license      MIT
// @grant        none
// ==/UserScript==

(function () {
    'use strict';

    // Wait 5 seconds after page load
    setTimeout(() => {
        const captchaSelect = document.querySelector('#select_captcha');
        if (captchaSelect) {
            captchaSelect.value = '0'; // Select IconCaptcha
            const event = new Event('change', { bubbles: true, cancelable: true });
            captchaSelect.dispatchEvent(event);
            console.log('✅ Selected IconCaptcha');
        } else {
            console.warn('⚠️ CAPTCHA select element not found.');
        }

        // Observe for "Verification complete."
        const observer = new MutationObserver((mutations, obs) => {
            const verificationMessage = document.querySelector('.iconcaptcha-modal__body-title');
            if (verificationMessage && verificationMessage.textContent.includes('Verification complete')) {
                console.log('✅ IconCaptcha solved: Verification complete.');

                // Wait 5 seconds, then click claim button
                setTimeout(() => {
                    const claimBtn = document.querySelector('#process_claim_hourly_faucet');
                    if (claimBtn) {
                        claimBtn.click();
                        console.log('🟢 Claim button clicked.');

                        // After claim clicked, wait 1 hour then reload once
                        setTimeout(() => {
                            console.log('🔄 1 hour passed, reloading page...');
                            location.reload();
                        }, 3600 * 1000); // 3600000 ms = 1 hour

                    } else {
                        console.warn('❌ Claim button not found.');
                    }
                }, 5000);

                obs.disconnect();
            }
        });

        observer.observe(document.body, { childList: true, subtree: true });
    }, 5000);
})();