How to hide an email address using Javascript from spammers? If your email address is xxx@starzlet.com, you will probably use <a href=”mailto:xxx@starzlet.com”>xxx@starzlet.com</a> as what I shown in the previous article. This simple code easily attracts spambots and you’d receive floods of spam emails like my case. *sigh*

Either you use a new email address (if possible but unlikely for my case) and just copy and paste this Javascript into your blog or website :

Using “xxx@starzlet.com” as an example, replace “yourname” to “xxx” and “yourdomain.com” to “starzlet.com”.

VN:F [1.5.7_846]
Rating: 0.0/10 (0 votes cast)
VN:F [1.5.7_846]
Rating: 0 (from 0 votes)

Popularity: unranked [?]

  • Share/Save/Bookmark