Taking Spam Out of Your Site - Reduce Email Spam
(Page 3 of 4 )
You can also take an extra step and change some of your site's coding to reduce another, highly irritating form of spam: email spam. As soon as you post your address to the public, you're turning your inbox into a free-for-all for the many spam bots that exist solely to record emails like yours. There are scripts you can use to make your email accessible to the public, even as it's effectively invisible to the spambots. These scripts will look something like the following:
<script language=javascript>
<!--
var username = "user name";
var hostname = "yoursite.com";
var linktext = "Click Here for Email";
document.write("<a href="+"mail"+"to:"email address">"+linktext+ "</a>")
//-->
</script>
<script language=javascript>
<!--
var username = "user name";
var hostname = "yoursite.com";
var linktext = username+"@"+hostname;
document.write(username +"@"+ hostname)
//-->
</script>
Next: Verify! >>
More How To Articles
More By KC Morgan