Delay the free claim click
This commit is contained in:
parent
c13989ac84
commit
1375be8f40
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Easy Skins Coin Claimer
|
||||
// @namespace https://pube.tk
|
||||
// @version 2025-08-08
|
||||
// @version 2025-08-09
|
||||
// @description Claims free coins on the info page
|
||||
// @author Abhorrent_Anger
|
||||
// @match https://easyskins.com/info/*
|
||||
@ -23,6 +23,10 @@ const FREE_COINS_BUTTON = 'button.button-get-daily-bonus';
|
||||
|
||||
function checkFreeCoins() {
|
||||
$(REWARD_SIDEBAR_BUTTON_SELECTOR).click();
|
||||
setTimeout(clickFreeCoins, RECHECK_TIMER);
|
||||
}
|
||||
|
||||
function clickFreeCoins() {
|
||||
$(FREE_COINS_BUTTON).click();
|
||||
}
|
||||
|
||||
@ -37,7 +41,7 @@ function getCooldown() {
|
||||
function runRoutines() {
|
||||
console.log('Checking for free coin claims');
|
||||
checkFreeCoins();
|
||||
setTimeout(recheck, RECHECK_TIMER);
|
||||
setTimeout(recheck, RECHECK_TIMER * 2);
|
||||
}
|
||||
|
||||
function recheck() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user