B f Auto

Auto-clicks "DISAGREE" and waits 12s then claim

// ==UserScript==
// @name         B f Auto
// @namespace    http://tampermonkey.net/
// @version      2.2
// @description  Auto-clicks "DISAGREE" and waits 12s then claim
// @author       👽
// @match        https://bitfaucet.net/faucet/*
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    // === Auto-click "DISAGREE" button whenever it appears ===
    function clickDisagreeButton() {
        const buttons = document.querySelectorAll('button');
        buttons.forEach(button => {
            const span = button.querySelector('span');
            if (span && span.textContent.trim().toUpperCase() === 'DISAGREE') {
                console.log('Clicked DISAGREE button');
                button.click();
            }
        });
    }

    // Check for DISAGREE button every second
    setInterval(clickDisagreeButton, 1000);

    // === Wait 12 seconds and click "Get Reward" ===
    window.addEventListener('load', () => {
        setTimeout(() => {
            const rewardBtn = document.querySelector('button#submit');
            if (rewardBtn) {
                console.log('Clicked Get Reward button after 12s');
                rewardBtn.click();
            } else {
                console.log('"Get Reward" button not found.');
            }
        }, 12000); // 12 seconds = 12000 ms
    });
})();