Internet Bandaid   [RSS Feed]

Use Javascript to Render Email After Page Load – Best Practice

without comments

I looked on the website’s about us page and i see that everyone’s email addresses are EXPOSED. In other words, I see bad things like <a href=”mailto:someone@website.com”> in the view source.

This means that a spider/crawler can parse out everyone’s email addresses and spam them.

The better thing to do is something like

<a data-helloworld=”someone|||website.com”>

Then use javascrpt after page load to convert that to a proper mailto link.

Spiders/crawlers generally won’t trigger javascript

Written by John Lai

March 26th, 2014 at 9:19 am

Posted in Uncategorized

Start Mission - Project management and invoicing

Leave a Reply