Skip to content

Instantly share code, notes, and snippets.

@veirus
Created July 28, 2018 07:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veirus/fadcf2b6082da1980549a05c672d8387 to your computer and use it in GitHub Desktop.
Save veirus/fadcf2b6082da1980549a05c672d8387 to your computer and use it in GitHub Desktop.
Extract games names from your steam /games page. Credit: https://steamcommunity.com/discussions/forum/10/624075482698670357/#c350542683196574724
var names = document.body.getElementsByClassName('gameListRowItemName');
var namesString = '';
for (var i = 0; i < names.length; i++) namesString += (names[i].innerText + '\n');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment