Change the click target
This commit is contained in:
parent
9c528459fb
commit
f139496c3e
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Get Drop Free Case Claimer
|
||||
// @namespace https://pube.tk
|
||||
// @version 2025-09-19
|
||||
// @version 2025-09-20
|
||||
// @description Claims free cases
|
||||
// @author Abhorrent_Anger
|
||||
// @match https://getdrop.org/case/free*
|
||||
@ -13,16 +13,16 @@
|
||||
// ==/UserScript==
|
||||
|
||||
const INITIAL_TIMER = 2000;
|
||||
const RECHECK_TIMER = 30 * 60 * 1000;
|
||||
const RECHECK_TIMER = 60 * 1000;
|
||||
const MAIN_WINDOW_SELECTOR = "main";
|
||||
const FREE_CASE_BUTTON = '.free-open.btn-opencase';
|
||||
const FREE_CASE_BUTTON = '.free-open.btn-opencase span';
|
||||
|
||||
function clickFreeCase() {
|
||||
$(FREE_CASE_BUTTON).click();
|
||||
}
|
||||
|
||||
function runRoutines() {
|
||||
console.log('Checking for free coin claims');
|
||||
console.log('Checking for free coin claims...');
|
||||
clickFreeCase();
|
||||
setTimeout(runRoutines, RECHECK_TIMER);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user