Created
February 3, 2017 22:32
-
-
Save Dehax/732c7de9e8faedb1932d375034f9b8f6 to your computer and use it in GitHub Desktop.
Steam Market Total Counter at https://steamcommunity.com/market/
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 sum = 0.0; | |
document.querySelectorAll('.market_home_listing_table:first-child .market_recent_listing_row .market_listing_my_price .market_table_value .market_listing_price span span:last-child').forEach(function (item, i, arr) { | |
sum += parseFloat(item.innerText.slice(1).replace(/,/, '.')); | |
}); | |
alert(sum); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment