Created
October 25, 2017 10:00
-
-
Save apa6ec/e5da97aabe280f5514ad86cb1a5042ff to your computer and use it in GitHub Desktop.
Steam calculate total time in games
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
#for page http://steamcommunity.com/id/USERNAMEHERE/games/?tab=all console | |
var summ = 0;for(var i=0; i < jQuery('#games_list_row_container .hours_played').length; i++) {var z = parseFloat(jQuery('#games_list_row_container .hours_played')[i].textContent || 0); summ = summ + z;}; console.log('TOTAL TIME (HOURS):', parseInt(summ)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment