Go to https://store.steampowered.com/account/history/, click "load more" until it stops appearing, and then type the above into your browser's javascript console.
Created
October 16, 2020 10:16
-
-
Save GauntletWizard/902d6ccce5469131a66d8243ebe354bd to your computer and use it in GitHub Desktop.
Steam Cost history
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
sum = 0 | |
costs = Array.from(document.getElementsByClassName("wht_total")).slice(1) | |
for (i of costs) { | |
sum += parseInt(i.textContent.trim().replace("$", "").replace(".", "")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment