Sanja93Z - Stake.com Auto Reload Claimer (10 minutes) V1

10 minutes Reload Claimer for stake.com

当前为 2025-05-28 提交的版本,查看 最新版本

// ==UserScript==
// @name Sanja93Z - Stake.com Auto Reload Claimer (10 minutes) V1
// @description 10 minutes Reload Claimer for stake.com
// @writer Sanja93z
// @version 28.05.2025 V1
// @match https://stake.com/*
// @match https://stake.com/?tab=rewards&modal=claimReload
// @match https://stake.com/?tab=rewards&modal=claimReload
// @run-at document-idle
// @namespace https://greasyforks.org/de/users/1475718-sanja93z
// @downloadURL
// ==/UserScript==

setInterval(function() 
{
window.location.replace("https://stake.com/?tab=rewards&modal=claimReload")
}, 25000)

setInterval(function() 
{
document.querySelectorAll
("button[type='submit']")[0].click()
}, 1500)

(function() 
{
'use strict';
let countdownTime = 600;
}
)
function createTimer() 
{
const timer = document.createElement('div');
Object.assign(timer.style, 
{
position: 'fixed', top: '1.5cm', left: '0', backgroundColor: 'black', color: 'white',
padding: '10px', fontFamily: 'monospace', fontSize: '20px', zIndex: '10000', borderRadius: '5px'
});
timer.id = 'countdown-timer';
timer.textContent = '10:00';
document.body.appendChild(timer);
return timer;
}

function updateTimer(timer, timeInSeconds) 
{
const minutes = Math.floor
(timeInSeconds / 60);
const seconds = timeInSeconds % 60;
timer.textContent = `$
{
String(minutes).padStart(2, '0')
}:$
{
String(seconds).padStart(2, '0')
}`;
timer.style.backgroundColor = timeInSeconds <= 5 ? (timer.style.backgroundColor === 'black' ? 'red' : 'black') : 'black';
}
function playSound() {
        const sound = new Audio('https://assets.mixkit.co/active_storage/sfx/1121/1121-preview.mp3');
        sound.volume = 0.5;
        sound.play();
    }
长期地址
遇到问题?请前往 GitHub 提 Issues。