Archive for October 17th, 2006

17
Oct

Hide Email from Spambots but not from users

i always love to click the mail button instead of typing and matching email from the image.
Spammers have made our lives miserable :(

using this little piece of javascript can give you both, a text email link and no spam :D

most of search engines + spam bots don’t check the script tag, but even if they check that who is gonna extract email from the script :D

  1. <script language=javascript>
  2. <!--
  3. var linktext = "Contact";
  4. var username = "Admin";
  5. var domain = "website.com";
  6. document.write("<a href=" + "ma" + "il" + "to" + ":" + username + "@" + domain + ">" + linktext + "</a>");
  7. //-->
  8. </script>
  9. <noscript>
  10. <!-- No Script for searh engines and spam bots -->
  11. <img src="http://mydomain.com/myemail.jpg" alt="Im sorry but youll have to type it manually" />
  12. </noscript>

I see dead Spammers hehehe.




October 2006
M T W T F S S
    Nov »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

No categories

Xbox360

Flickr

www.flickr.com