Hiding Email Addresses in the website content from spammers bots and crawlers

how to hide email address from spammers

Keeping email addresses in plain text format inside website content is as good as subscribing to million spamming mail lists.

Here is a neat little trick using javascript to hide your email addresses from spammers bots.

replace “hello” and “yourdmain.com” with relevant parts from your email address.

<SCRIPT type=’text/javascript’>a=’hello’; b=’yourdomain.com’
document.write(‘<A hre’+’f=”mai’+’lto:’+a+’@’+b+'”>’);
document.write(a+’@’+b+'</a>’);
</SCRIPT>

Tags :

Picture of Written by: Rocken
Written by: Rocken

Natoque viverra porttitor volutpat penatibus himenaeos. Vehicula commodo si hendrerit.

Latest Post

Categories

The designs you will crave for

Lorem ipsum dolor sit amet consectetur.