You are here: Re: Hiding emailaddress from the HTML source code « HTML « IT news, forums, messages
Re: Hiding emailaddress from the HTML source code

Posted by Jukka K. Korpela on 11/13/07 09:49

Scripsit Harry Bellafonte:

> I am creating a company website. On almost each page there is an
> emailadres with the mailto: in the a href tag.

That's questionable. What will they do when the addresses change? It might
not be a problem if they have content management that lets them change an
address in one place only and have this reflected everywhere on the site,
via some authoring, preprocessing, or dynamic generation software.

> 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).

That's clueless, but if that's what they want, they can remove their
addresses, just as they can remove their phone numbers from catalogues to
prevent prank calls, their postal addresses from everywhere to prevent junk
mail, etc.

> What is the simplest way to do this?

Remove the web site. (You asked for the _simplest_ way, didn't you?)

> 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?

And wait for spammers to use tools that interpret JavaScript?

Just tell them to make up their mind. Either use the Internet, or stay away
from it. In the former case, stay tuned to getting spam. Deal with it.
There's a lot of software to filter out spam. Just preventing some address
harvesting, at the cost of aggravating your customers and making your site
crappy, wouldn't stop them from getting spam.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация