Skip to content

Instantly share code, notes, and snippets.

@stadja
stadja / auto_claim-itch.io.js
Last active October 27, 2022 22:15
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 {