Last active
December 14, 2015 18:28
-
-
Save d4l3k/afcf497a89390732609e to your computer and use it in GitHub Desktop.
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
javascript:var total = 0; var mine = 0; [].forEach.call(document.querySelectorAll('p'), function(a){ var bits = a.innerText.split(":")[1].split("/"); total += parseInt(bits[1]); mine += parseInt(bits[0]);}); alert(mine + " / " + total + "\n" + (mine/total*100).toFixed(1)+"%") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment