Change case selector
This commit is contained in:
parent
805c589f31
commit
68f25e3999
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name Skinrave Daily Case Opener
|
||||
// @namespace https://pube.tk
|
||||
// @version 2025-02-19
|
||||
// @version 2025-03-06
|
||||
// @description Opens daily cases
|
||||
// @author Abhorrent_Anger
|
||||
// @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 = '#case-daily-case div.relative.w-fit.flex.items-center.justify-center button:not(:disabled)';
|
||||
const OPEN_BUTTON_SELECTOR = '#case-daily-case div[data-testid="case-opening-control-panel"] button:not(:disabled)';
|
||||
|
||||
function openDailyCase() {
|
||||
let openButton = $(OPEN_BUTTON_SELECTOR);
|
||||
|
Loading…
x
Reference in New Issue
Block a user