Posted by Norman Peelman on 11/20/07 11:47
Harry Bellafonte wrote:
> Hi
>
> I am creating a company website. On almost each page there is an
> emailadres with the mailto: in the a href tag. My company want this
> adres not to be visible through the html source code ( so that bots
> cannot read the emailaddress from the source code from the internet).
>
> What is the simplest way to do this? Do I have to create javascript
> function that is triggered from the a href tag, and the javascript
> function opens an email with the adres in it?
>
> Regards
>
I'd say use a FORM linked to a server-side script that can filter out
all non-essentials (read possible spam) like suggested in another reply.
Obfuscation methods can 'help' but are not the answer. Especially with
some browsers capability to display 'rendered' code as well as source.
This in conjunction with a CAPTCHA system as part of the form can reduce
spam even more - but some will still get through.
Do a google for:
email obfuscation
and
CAPTCHA
Norm
Navigation:
[Reply to this message]
|