Skip to content

Instantly share code, notes, and snippets.

@stadja
Last active April 29, 2026 05:29
Show Gist options
  • Select an option

  • Save stadja/b8e5c43da35381f9bbfe6d8c6c2b7334 to your computer and use it in GitHub Desktop.

Select an option

Save stadja/b8e5c43da35381f9bbfe6d8c6c2b7334 to your computer and use it in GitHub Desktop.
Auto claim your script
// is there a game to claim ? if yes, claim it
if ($('[value="claim"]') && $('[value="claim"]')[0]) {
$('[value="claim"]')[0].click();
// have I claimed a game ? If yes, go back
} else if (!window.location.toString().includes("/bundle/download")) {
window.history.back();
// no game to claim, no game claimed, change page
} else {
$('.next_page')[0].click()
}
@dehqonovmurodbek7-netizen

Copy link
Copy Markdown

Tronpick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment