Created
January 30, 2018 20:32
-
-
Save juzim/2e3a840d6e0b4784498693671f0a8c2a to your computer and use it in GitHub Desktop.
Extract all steam keys from a fanatical.com order page
This file contains 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
var nodes = document.getElementsByClassName('text-center font-weight-bold form-control') | |
var res = []; | |
for (var i = 0; i < nodes.length; i++) { res.push(nodes[i].value);} | |
console.log(res.join("\n")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No longer works
Working version: