Created
May 24, 2013 17:33
-
-
Save thefrosty/5645145 to your computer and use it in GitHub Desktop.
I used this to scrape emails from a BuddyPress pending approvals page to email all users to verify non-spam.
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 Values = []; | |
jQuery('#pw_pending_users a[href^="mailto:"]').each(function() { | |
var $this = jQuery(this); | |
Values.push($this.text()); | |
}); | |
console.log(Values.join(', ')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment