diff --git a/SkinraveDailyCaseOpener.user.js b/SkinraveDailyCaseOpener.user.js index 0235dc0..991b6c7 100644 --- a/SkinraveDailyCaseOpener.user.js +++ b/SkinraveDailyCaseOpener.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Skinrave Daily Case Opener // @namespace https://pube.tk -// @version 2025-06-15 +// @version 2025-06-16 // @description Opens daily cases // @author Abhorrent_Anger // @match https://skinrave.gg/en/cs2/case-opening/daily-* @@ -14,7 +14,8 @@ // ==/UserScript== const RECHECK_TIMER = 60000; -const INITIAL_TIMER = 2000; +const INITIAL_TIMER = 60000; +const CLOSE_TIMER = 15000; const MAIN_WINDOW_SELECTOR = "div.flex.overflow-y-auto.overflow-x-hidden"; const OPEN_BUTTON_SELECTOR = 'div[data-testid="case-opening-control-panel"] button:not(:disabled)'; @@ -28,7 +29,7 @@ function openDailyCase() { console.log('Attempted to open a daily case'); } console.log('Attempting to close out the tab...'); - setTimeout(window.close, INITIAL_TIMER); + setTimeout(window.close, CLOSE_TIMER); } function runRoutines() {