Emailto Script to beat the spambots

Apr 23rd, 2009 | By | Category: Inspiring, Technology
Found this today and was impressed with it's simplicity and genius, wondering why I haven't seen it before this.  Allows you to enable users to one click email you from a link on the website while offering you protection from spambots picking up the email addy and adding to the list:

Javascript that goes in the html

<script language='Javascript'>
    function emailto(dom,from,nam,tld,add) {

this code replaces the standard mailto code in the HREF tag:  javascript:emailto('wadjeteyegames','','admin','com','')

Tags: , , , ,

Leave a Comment