Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

rootEth

1
Posts
A member registered Jun 07, 2020

Recent community posts

(1 edit)

I did a quick grabber to claim them all using JS, but you need to run it from the console on each page of the bundle. I tried to make it get them all but it's throwing too many errors and I cba to fix it, this is quicker than doing it for them all individually anyway! Note that it will throw errors because of CORs but the games will appear in your library, once it stops throwing errors move to the next page!

baseURL = window.location.protocol + "//" + window.location.host + location.pathname

var games = document.getElementsByClassName("form");

for(var x = 0; x < games.length; x++)
{
var csrf_token = games[x].getElementsByTagName("input")[0].value;
    var game_id = games[x].getElementsByTagName("input")[1].value;
var xhr = new XMLHttpRequest();
xhr.open("POST", baseURL, true);
xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xhr.send("csrf_token=" + csrf_token + "&game_id=" + game_id + "&action=claim");
}