|
How to hide email address from spammers |
|
|
|
|
Wednesday, 10 May 2006 |
|
PHP Code: <script language=javascript> var linktext = "Contact Us"; var email1 = "webmaster"; var email2 = "sparkhaven.net";
document.write("<a href=" + "mail" + "to:" + email1 + "@" + email2 + ">" + linktext + "</a>") //--> </script>
To customize, replace "Contact Us" with the text you want people to click on. Also, following email1 replace admin with your name (if your e-mail address is
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it
, put webmaster there). Finally, following email2 replace sparkaven.net with the rest of your address.
If you are using Microsoft FrontPage, you can automate the process by using SPAM spoiler - http://www.microsoft.com/frontpage/downloads/addin/searchdetail.asp?a=731 The plugin will automatically install on your computer and allow you to easily rebuild email links on the fly.
|
|
Last Updated ( Monday, 11 August 2008 )
|