Forum Moderators: phranque

Message Too Old, No Replies

Techniques to hide email address on webpages

Besides painting them with javascript.

         

fischermx

8:29 pm on Jul 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have been using the technique of just painting email address on my webpages by using javascript.
I found, however that sometimes I receive what seems to be automated emails, so some bots could trap it.
Is there anyother technique to follow?

Example :

Please email to :
<script type="text/javascript">
document.write("info");
document.write("@");
document.write("Example.Com");
</script>

Is this, in your experience enough to hide it?
Could be my issues be related with manual gathering of visible addresses?

vincevincevince

8:49 pm on Jul 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That should be enough to hide it. You can go one step further and use an image itself. Draw it in paint, upload it, and link to it.

Dijkgraaf

11:14 pm on Jul 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I go a few steps further to make it harder for bots.
I actually created an external JavaScript file that has a function that has those document writes, and I include that external file, and then call that function at the place where I want the e-mail address.
For some more tricks and a fancier piece of JavaScript, have a look at How to Avoid Spambots at Project Honeypot
[projecthoneypot.org ]
especially the Complete Obfuscation page.

rocknbil

5:24 pm on Jul 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Simply don't display the email address on the page and use web forms with server-side processing for contacts - ones that DO NOT put the recipient address in a hidden field.

Span

5:56 pm on Jul 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could be my issues be related with manual gathering of visible addresses?

Could be, yes. I'm seeing quite often visitors that go straight to the contact page and then leave right away. That's not normal behaviour, is it?

Also, from your example, I wouldn't use 'info' as an emailaddress - that's too common and easy to guess and try.
And what rocknbil says; use a form.