Clicks ROLL after 12 seconds, then refreshes after 1 hour and 1 minute (3660s)
当前为
// ==UserScript==
// @name FreeBitco.in Auto Roll - Timed Refresh
// @namespace https://tampermonkey.net/
// @version 1.1
// @description Clicks ROLL after 12 seconds, then refreshes after 1 hour and 1 minute (3660s)
// @author 👽
// @match https://freebitco.in/*
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
window.addEventListener('load', () => {
console.log('⏳ Waiting 12 seconds before clicking ROLL...');
setTimeout(() => {
const rollButton = document.getElementById('free_play_form_button');
if (rollButton && rollButton.style.display !== 'none') {
console.log('✅ Clicking the ROLL button now...');
rollButton.click();
// Wait 1 hour + 1 minute (3660 seconds), then refresh
console.log('⏲️ Waiting 1 hour and 1 minute to refresh...');
setTimeout(() => {
location.reload();
}, 3660000); // 61 minutes in milliseconds
} else {
console.log('❌ ROLL button not found or not visible. Will not proceed.');
}
}, 12000); // Wait 12 seconds before clicking
});
})();