From ca2a14c904cdced66d1ebbdb57f9ea073d5b59b4 Mon Sep 17 00:00:00 2001 From: Abhorrent_Anger Date: Tue, 3 Jun 2025 10:45:02 +0300 Subject: [PATCH] Ignore disabled rakeback buttons --- SkinraveRakebackCollector.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SkinraveRakebackCollector.user.js b/SkinraveRakebackCollector.user.js index 5279188..a7edeaa 100644 --- a/SkinraveRakebackCollector.user.js +++ b/SkinraveRakebackCollector.user.js @@ -28,7 +28,7 @@ function runRoutines() { function collectRakeback() { $(RAKEBACK_AMOUNT_SELECTOR).each(function () { let button = $(this).parent().children('button').eq(0); - if (button.text() == EMPTY_CLAIM) { + if (button.text() == EMPTY_CLAIM || button.prop('disabled')) { console.log('Skipped an empty rakeback'); return; }