Last active
May 20, 2023 14:44
-
-
Save mikeyjk/b202fc41effc22b17140a86abbfe8e8a to your computer and use it in GitHub Desktop.
log all steam games from steam web library
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// i just wanna see all my games in plain text format | |
document.querySelectorAll('[class^="gameslistitems_GameName_"]').forEach(e => { console.log(e.text); }); | |
// or maybe | |
var games = ''; | |
document.querySelectorAll('[class^="gameslistitems_GameName_"]').forEach(g => { | |
games = games === '' ? games = g.text : games += ', ' + g.text; | |
}); | |
console.log(games); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment