Forum Moderators: phranque
I've used the good old ASCII code, but i'm not sure that is so successful nowadays. I've tried javascipt, but i'm not sure how well that is working as it's used where the published e-mail addresses appear elsewhere.
Besides not showing the e-mail address at all, what methods and implementations have you found to be most succesful in keeping out the spambot harvesters?
<script language="Javascript">
<!--
var firstbit = "johnwidget"
var secondbit = "yourdomain.com"
document.write("<a class=link href='mailto:" + firstbit + "@" + secondbit + "'>")
document.write('CLICK HERE TO EMAIL US')
document.write("</a>")
//-->
</script>
Maybe placing a picture with no maillink is the wa to go.
mailto:format. If JavaScript is not enabled, the contact.htm page explains to them how to contact the email address they clicked (the contact.htm is a step-by-step instruction page on how to put the email address together because we recognized that they don't have JavaScript turned on in their browser and we appreciate their patience as we combat spam using this method).