The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Kenneth's pet project!


  • To: ukha_d@xxxxxxx
  • Subject: Re: [OT] Kenneth's pet project!
  • From: "garygfx" <garygfx@xxxxxxx>
  • Date: Thu, 19 Jun 2003 13:54:16 -0000
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

--- In ukha_d@xxxxxxx, "Paul" <p-gale@b...> wrote:
> Is this reasonably common (i.e. do any other sites use it)

Not that I've noticed any. A lot of sites also use forms instead so
the email address is never sent to the client - a sure fire method of
protecting your address if you're happy to do it that way.

> if so, then surely the bot creators can easily add it?

Not at all. I wrote this function myself so if anyone else has the
same idea they'd code it in a slightly different way which means any
bot would have to have a Javascript interpriter to understand how
firstly recognise a concealed email address and secondly how to piece
it back together. This is well beyond the means of bots at the moment
and there's little incentive to improve them since millions of
unhidden addresses are out there for easy reaping.

> How can I modify this script so it's personal to my site and lessen
the chance of a bot being successful in the future?

The simplest way is to rearrange the 3 parts. Do it backwards:
suffix, domain, name. Also change the name of the function and the
arguments. If a bot is created that can understand javascript (not
for years, if ever!) then nothing you do using javascript can protect
your address. Other options are to use server side scripting so if
you click on a "email me" link it sends a HTTP request to the
server
which looks to see if it's a real browser making the request and not
a bot (various checks can be done) and then sends back a HTTP
redirect to an email link.

Gary.




Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.