Spam Free and Lovin It!
by MattAs I cruise around the internet I have noticed a lot of people using some funky email addresses. For example, me (at) domain (dot) com. This just doesn't cut it...When you do this the spammers have won, and we can't have that.
My buddy Alain showed me a good way to hide your email using javascript. This formats your email address behind the scenes but still provide a maito link that allows the public to click on it, and send you an email.
Here is the javascript:
-
<!--
-
var username = "username";
-
var hostname = "domain.com";
-
var linktext = "Email Me";
-
document.write("<a href=" + "mail" + "to:" + username + "@" + hostname + ">" + linktext + "</a>")
-
//-->
If you don't know anything about javascript... what this code does is rearrange the beginning of your email, and ending of your email. If you use this code and view the source from a webpage you will see that the spam harvesters can't find any valid email address. Just cut and paste the code into you webpages. Of course change the username and domain to your proper email.
If you do not want to add code your website, and you use wordpress, you can install a little sidebar widget I made that adds your contact info. Download Spam Widget Here
Tags:Plugins Realivent Updates spam widgets wordpress
Popularity: 6% [?]
