When I click on a “contact” link, I rather be taken to a page where I can click a link to email somebody rather than filling a contact form. I guess either I’m too lazy or I prefer using my email client.
If you’ve published your email address on your website, you know it can be caught by automated scripts that crawl the web to find potential mailboxes to spam.
So how can you publish your email while hidding it from spammers? The answer is easy: simply use some Javascript to break your email address into multiple lines of code so it won’t be caught by those malicious scripts.
Here’s an example:
<script type=”text/javascript” language=”javascript”>
document.write(’<a href=”mailto:johndoe’);
document.write(’@nowhere.com”>Send me an email</a>’);
</script>
Inserting this code in your web page would display an email link that is invisible to search engines since they do not support client-side scripting.








Top Commentators