Created
October 31, 2012 15:14
-
-
Save jjulian/3987586 to your computer and use it in GitHub Desktop.
Add up all your orders at ProgProg.com - go to http://pragprog.com/my_orders and run this in the console - your total will be displayed below your name in the sidebar
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
$('.records td.items + td').each(function() { $('.profile-box .name small').text((parseFloat($('.profile-box .name small').text()) || 0) + parseFloat(this.innerText.replace(/\$/,''))); }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment