Scrape Email Bookmarklet

Here is a simple bookmarklet to collect the email addresses on a web page. Enjoy!


var output = '';
var links = document.getElementsByTagName('a');
for(var i=0; i<links.length; i++){
    if(links[i].href.indexOf('mailto') != -1){
    output += links[i].href.substring(7);
    output += ', ';
if(output.length == 0){
output = 'No Emails Found';

Scrape Email Bookmarklet

Drag and drop this link to your bookmark bar or right click it and add it as a bookmark or favorite.


Go to a web page with email links and click on the bookmark.  An alert should appeart with a comma seperated list of all the email addresses on teh page.

comments powered by Disqus

© Balanced Scale Media, LLC. All right reserved.