Selector change
This commit is contained in:
parent
6274f291a1
commit
24400ed9e9
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Skinrave Daily Case Opener
|
||||
// @namespace http://tampermonkey.net/
|
||||
// @version 2025-01-30
|
||||
// @version 2025-02-19
|
||||
// @description Opens daily cases
|
||||
// @author You
|
||||
// @match https://skinrave.gg/en/cs2/case-opening/daily-case
|
||||
@ -15,7 +15,7 @@
|
||||
const RECHECK_TIMER = 60000;
|
||||
const INITIAL_TIMER = 2000;
|
||||
const MAIN_WINDOW_SELECTOR = "div.flex.overflow-y-auto.overflow-x-hidden";
|
||||
const OPEN_BUTTON_SELECTOR = 'body > div.flex.overflow-y-auto.overflow-x-hidden > div.w-full.flex div.relative.w-fit.items-center.justify-center.gap-1.flex button:not(:disabled)';
|
||||
const OPEN_BUTTON_SELECTOR = '#case-daily-case div.relative.w-fit.flex.items-center.justify-center button:not(:disabled)';
|
||||
|
||||
function openDailyCase() {
|
||||
let openButton = $(OPEN_BUTTON_SELECTOR);
|
||||
|
Loading…
x
Reference in New Issue
Block a user