Forum Moderators: phranque

Message Too Old, No Replies

Hiding email addresses from harvesters

Does using a form to hide email address actually work?

         

HelenDev

11:14 am on Jul 3, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have seen the technique of using a form to hide an email link. The human user can then click the button to get the email address and mailto link.

I was just wondering how effective this is? I guess this relies on the idea that email harvestering spiders can follow links but they can't press form buttons - is this true?

Quadrille

8:48 am on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A mixture does seem like a good idea.

An image of the email address catches those who print the page to consider later, and also serves those who do not use javascript.

Is there no downside to forms? I must admit I prefer to use a 'mailto' for simple contact - I like to see where my communication is going!

And once people install a form, there seems to be a tendency to add more and more fields, seeking info that is probably useless to them (and annoying to me), "because they can".

I realise this is a bit 'off topic' - but the psychology of webmaster privacy does overlap the psychology of visitor privacy - there's no point considering site security to the point where visitors feel excluded.

kaled

9:52 am on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I use the following javascript to activate images that display the email address and are linked with href="mailto:"

function adjustMailLinksEx(myDomain)
{ with (document) {
for (var i = 0; i < links.length; i++) with (links[i]) {
if (id.indexOf('email_') == 0) {
var tmp = id.split('_');
href = 'mailto:' + tmp[1] + String.fromCharCode(64) + myDomain;
}}}}

Each link must have an id value beginning "email_" e.g. id="email_press" becomes an email link with href="mailto:press@mydomain.com".

Naturally, this could be adjusted to detect the domain automatically.

I provide these links below a contact form - that just about covers all bases (except I don't use a Captcha system).

Kaled.

kapow

11:55 am on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



OK so you may find an example of where someone has beaten an advanced Captcha, but that does not mean the majority of spammers are able to, or can be bothered with the effort.

Like I said, for 4 years we have used a javascript encryption method. When I said it has been 100% successful I meant it - No problems ever! Thats on 100+ different business websites that we manage (and some of them are very big/popular).

So IMO:
1.) You can display an email address (as encrypted javascript),
2.) You don't have to resort to hiding the email address (sites look more helpful if you show the address).
3.) There are some awesome Captchas out there, but I think they are over kill (unless you are Yahoo or a Bank...) (I take the point that most stuff on this thread is actually talking about captchas, but in this instance I mean the image display things, where the visitor must type something.)

HarryM

12:23 pm on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



when using the form they do not get a copy of what they sent, with normal email they do

True, but the situation can be improved. My forms are set up so that when submitted the user gets a thank you message followed by the text of the email. The user can then print it off if required. Not a complete answer but better than nothing.

chandubhai

12:30 pm on Jul 9, 2007 (gmt 0)

10+ Year Member



i personall would stick to gdlibrary to create an image of the email address.

g1smd

7:47 pm on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>> Any half-decent formmail script should make it easy to add CC and BCC recipients :) <<

Problem is, if you make it so that *any* email address can be put there, you'll find people using your script to send spam and junk to people that they CC and BCC into your form.

incrediBILL

9:59 pm on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Problem is, if you make it so that *any* email address can be put there, you'll find people using your script to send spam and junk to people that they CC and BCC into your form.

Oh puleez.... that's only if you're silly enough to put the email addresses on the browser side which is SOoooo '90s it's pathetic. All of the TO, CC and BCC should be done securely on the server side only so it's not a spam script at all.

g1smd

10:42 pm on Jul 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>> Oh puleez.... that's only if you're silly enough to put the email addresses on the browser side which is SOoooo '90s it's pathetic. All of the TO, CC and BCC should be done securely on the server side only so it's not a spam script at all. <<

Yes, but the response to which you are responding, was in response to the reply to the comment that said something like "the disadvantage of a form is that the person who fills the form in does not get a copy of what they sent".

The response to that was to suggest adding a CC field where you could fill in your own email address so that you get a copy back.

My further response was to show how that could be used to send spam if any address on any domain can be typed in there.

too much information

2:06 pm on Jul 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



For those of you using PHP you can use iScramble to create the JavaScript for you on the fly (z-host.com/php/iscramble) it's a free download.

I have been using this for 3 years and it not only protects email but it can encode any output you want so you can protect your forms as well. When I added it to my forum's signup form it stopped robot signups completely.

This 69 message thread spans 3 pages: 69