Skip to content

Instantly share code, notes, and snippets.

@jjulian
Created October 31, 2012 15:14
Show Gist options
  • Save jjulian/3987586 to your computer and use it in GitHub Desktop.
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
$('.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