Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+11)

I had to modify the script, but it finally worked. 


This is the script that worked for me:

// 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")) { 

    $('.nav_btn')[1].click(); 

// no game to claim, no game claimed, change page

} else {

    $('.next_page')[0].click()

}

This looks exactly like the script by stadja@LTN that Scarabium posted above.

What did you "modify"?

(+5)

In the line 7 of the original script, you can see that the script tells the browser to go back to the list page after adding a game:

    window.history.back(); 

This made my browser go back to the start page, so I modified it to click the button to go to the list page:

    $('.nav_btn')[1].click(); 

I hope this helps.

(+2)

Thank you so much for explaining & clarifying! :)

(+2)

window.history.back(); => $('.nav_btn')[1].click();

Thank you! :)

(+3)

Awesome, it's working perfectly :)

(+3)

It's slow but steady. 👍

(+3)

Saves me from doing it manually and that's all I can ask! 

Did they remove the claim button in the last hour to disable this or am I doing something wrong?

I'm not seeing it on any of the game download pages manually and $('[value="claim"]').length === 0.

The UI doesn't change, the only thing changing is the css. Is the script not working?