Fix game joining

This commit is contained in:
Abhorrent_Anger 2025-06-03 10:24:00 +03:00
parent a7f79b2d9d
commit 99fac49815

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name Skinrave Reward Ticket Handler
// @namespace https://pube.tk
// @version 2025-03-12
// @version 2025-06-03
// @description Claims tickets and tries to join minutely roulettes with the minimum bet
// @author Abhorrent_Anger
// @match https://skinrave.gg/en/reward-tickets
@ -19,7 +19,7 @@ const TICKET_BALANCE_SELECTOR = "div:nth-child(1) > div:nth-child(1) > div:nth-c
const MAIN_WINDOW_SELECTOR = "div.flex.overflow-y-auto.overflow-x-hidden";
const AMOUNT_SELECTOR = "#searchParam";
const MIN_AMOUNT = "0.01";
const JOIN_GAME_SELECTOR = "body > div.flex.overflow-y-auto.overflow-x-hidden > div.w-full.flex > div.w-full.max-w-full > main > main > div button.max-w-full:not(:disabled)";
const JOIN_GAME_SELECTOR = "div.w-full.max-w-full button.max-w-full:not(:disabled)";
const MINUTE_SELECTOR = "body > div:contains('minute')";
var lastBalance;