Bitsbon For All (ON)

BitsBon 24/7 👽👽👽 support my YB channel for more

// ==UserScript==
// @name         Bitsbon For All (ON)
// @namespace    http://tampermonkey.net/
// @version      1.5
// @description  BitsBon 24/7 👽👽👽 support my YB channel for more
// @author       👽
// @license      MIT
// @match        https://bitsbon.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    window.addEventListener('load', function() {
        console.log("Page loaded. Waiting 5 seconds...");

        setTimeout(function() {
            const button = document.querySelector('button.btn.btn-danger.btn-md.w-100.mt-2');

            if (button) {
                console.log("Clicking 'Roll & Win' button...");
                button.click();
            } else {
                console.log("Roll & Win button not found.");
            }

            // Wait 1 minute (60,000 ms), then reload
            console.log("Waiting 1 minute to refresh...");
            setTimeout(function() {
                console.log("Refreshing page...");
                location.reload();
            }, 60000);

        }, 5000); // Wait 5 seconds
    });
})();