> -----Original Message-----
> From: [EMAIL PROTECTED] [Eric J Hoffman]
> Sent: Wednesday, December 16, 1998 1:22 AM

>    ... don't put the e-mail address, write a small cgi and put
> a link from each persons name to the cgi contact form passing it
> the name of the person it should go to, all e-mail addresses can be
> hidden in the cgi or in a file it reads.

I put email buttons on my web sites in this form:

   <A HREF="javascript:mail2('nvodlabdn0psh')">Mail to Bob Munck</A>

with this JavaScript function defined:

function mail2(id){
var ab =
'[EMAIL PROTECTED]';
var od = 'mailto:';
for (var i=0; i<id.length; i++){
        j = ab.indexOf(id.charAt(i),1);
        od += (j<0) ? id.charAt(i) : ab.charAt(j-1);
        }
location.href = od;
}

The function just changes each character in the email address to the
one before it in the alphabet ("IBM" => "HAL"), a very simple cipher
but one that an address-collecting 'bot is unlikely to penetrate.  The
ciphered string is obtained by using the following SED command:

y/ABCDEFGHIJKLMNOPQRSTUVWXYZ\@abcdefghijklmnopqrstuvwxyz\.0123456789/BCDEFGH
IJKLMNOPQRSTUVWXYZ\@abcdefghijklmnopqrstuvwxyz\.0123456789A/

If their browser doesn't allow JavaScript, they can't email.  Tough
bananas.

Bob Munck

____________________________________________________________________
--------------------------------------------------------------------
 Join The Web Consultants Association :  Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
          To get 500 Banner Ads for FREE
    go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------

Reply via email to