Created
February 13, 2011 19:50
-
-
Save jboesch/825024 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Step 1: Include jQueryify bookmarklet from http://www.learningjquery.com/2006/12/jquerify-bookmarklet | |
// Step 2: Plug this into your console. | |
var total = []; | |
$('.cur_val[headers=gross]').each(function(){ | |
var t = $.trim(this.innerHTML.replace('$', '').replace(',','')); | |
/* PayPal has two selectors of .cur_val[headers=gross] that point to the same amount. | |
We only want the one with a space in it, cause tht tells us whether or not it's CAD/USD */ | |
if(t.indexOf(' ') > -1){ | |
total.push(t); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment