Author Topic: concealing email addresses on websites  (Read 2024 times)

concealing email addresses on websites
« on: 30 April, 2008, 02:01:28 pm »
I'm looking for suggestions as to the simplest way of 'hiding' email addresses so that web-bots don't read them (i.e., not using a 'mailto:' link).

<i>Marmite slave</i>

Re: concealing email addresses on websites
« Reply #1 on: 30 April, 2008, 02:03:45 pm »
Inserted an image with the email address on

http://www.mseries.plus.com/email.html

before that I encoded it in unicode but after a while the bots got wise to it.

Re: concealing email addresses on websites
« Reply #2 on: 30 April, 2008, 02:10:26 pm »

Re: concealing email addresses on websites
« Reply #3 on: 30 April, 2008, 02:12:29 pm »
Of the two offer so  far I think mine is 'the simplest' and the OP doesn't want to use a mailto: link

Pete

Re: concealing email addresses on websites
« Reply #4 on: 30 April, 2008, 02:21:28 pm »
If all else fails, you could try this approach, which will beat even OCR:


Note: I scrawled this in clumsily, using the mouse in MSPaint, it's not my normal handwriting, so any graphologists p*** off!  ;D ;D

Re: concealing email addresses on websites
« Reply #5 on: 30 April, 2008, 02:23:44 pm »
The image one is the simplest and that's what the OP wants.

I personally use email forms that are posted to a C# page that will then send the email to you from the server. And bots can't get at code running on the server.

That certainly isn't the simplest way! Plus it has the draw back that if they enter their email address incorrectly, you won't be able to get back to them.

Of course you'd validate the email address they enter first, but that won't guarantee it.... You can't help it if people are too stupid to enter their own email address correctly...
Those wonderful norks are never far from my thoughts, oh yeah!

Re: concealing email addresses on websites
« Reply #6 on: 30 April, 2008, 02:31:01 pm »
Thanks for the suggestions.

I'm going use javascript+semi-unicode; breaking the unicode string up into two parts to confuse bots.

Like this 

('<a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;fred.' + 'bloggs&#64;yahoo.com')

I'll use an image for the actual link, so that people can read the email addresses.
<i>Marmite slave</i>

rogerzilla

  • When n+1 gets out of hand
Re: concealing email addresses on websites
« Reply #7 on: 30 April, 2008, 02:47:16 pm »
I use JavaScript to put the address together on the fly.

      <script>
document.write('<a href="mailto:name');
document.write('@domain.co.uk">E-mail</a>');
      </script>


How effective it is, it's hard to tell; once clients have your e-mail address in their address book, viruses and trojans can use it as they like.
Hard work sometimes pays off in the end, but laziness ALWAYS pays off NOW.