Posted By

hotdiggity on 03/30/09


Tagged

javascript spamproof


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

sulfurito


Spam-proof email with javascript


 / Published in: JavaScript
 

  1. <script type="text/javascript">
  2. <!-- spam-proof mailto!!!
  3. var username = "info";
  4. var hostname = "domain.com.au";
  5. var linktext = username + "@" + hostname;
  6. document.write("<a href=" + "mail" + "to:" + username +
  7. "@" + hostname + ">" + linktext + "</a>")
  8. //-->
  9. </script>

Report this snippet  

You need to login to post a comment.