[thelist] Using JavaScript for non-clickable email addresses

Robert Vreeland vreeland at studioframework.com
Thu Jan 27 13:23:47 CST 2005

Checking the IP against a server side data set was the method of validating
the request came from a user and not a bot. So as is, that technique would
not work. But if you are willing use some JavaScript you could add a
mousedown event to the link which would set a client side cookie. The
requested page could (server side) check for the cookie and respond
accordingly: cookie exists - output mailto link, no cookie - output image of

Robert Vreeland
Managing Partner
508 965 5819
vreeland at studioframework.com
----- Original Message ----- 
From: "Sarah Sweeney" <mr.sanders at designshift.com>
To: <thelist at lists.evolt.org>
Sent: Thursday, January 27, 2005 12:06 PM
Subject: Re: [thelist] Using JavaScript for non-clickable email addresses

> > It  could be workable if all your users had fixed ip address, maybe an
> > internal site. In a public web site, there would be to many users who
> > be using dynamically assigned ip addresses to be practical.
> What if you didn't check the referer and IP? I'm not quite sure what
> that would accomplish anyway. Without that, would this technique work?

More information about the thelist mailing list