Posted April 15, 2019

(function () {const userData_games = JSON.parse(localStorage.userData_games); var games = []; for (const gameid of userData_games) { games.push(parseInt(gameid)); } const USER_KEY = "ngStorage-user"; var ngStorage_user = JSON.parse(localStorage.getItem(USER_KEY)); ngStorage_user.games.list = games; localStorage.setItem(USER_KEY, JSON.stringify(ngStorage_user)); })()
You should only do this if you undertand the code and trust the provider as it can be used to steal you account; in fact Firefox warns you about this when you try to paste for the first time. I didn't test if this works with Chrome as I don't have it installed but it should work.
Post edited April 15, 2019 by Lobuno