Reply LinkBack Thread Tools Search this Thread
Old 17-08-2006, 05:33   #1 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
hiding email addresses from harvesters?

is there a latest best practice way to do this, or am i ok to use some javascript?
  Reply With Quote
Old 17-08-2006, 06:04   #2 (permalink)
smallbeer
I Ain't Losing Any Sleep™
 
Join Date: Apr 2003
Posts: 5,200
I don't think there's any way of stoping all the dirty harvesters. I either use javascript or encode the address with entities. I don't even know if one works better than the other, I just use the first one I find in my code dump.
  Reply With Quote
Old 17-08-2006, 06:26   #3 (permalink)
funkyprem
For all your goober needs
 
funkyprem's Avatar
 
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,529
if you're talking about having an email link on your page, then I don't think there's any way to stop the gits, as if there's a way for the browser to translate the link into something usable (i.e. even if using entity codes to mask it) it's not a lot of work for a bot to do the same conversion.

I've seen a few sites putting for example designer [at] talk.com as plain text on a page which obviously requires some work by the user to be able to use the address, but seems to be the method de jour to get around this.
  Reply With Quote
Old 07-09-2006, 10:11   #4 (permalink)
SeanMedia
Senior Member
 
SeanMedia's Avatar
 
Join Date: Jun 2003
Location: Belfast, Ireland
Posts: 416
Send a message via MSN to SeanMedia Send a message via Skype™ to SeanMedia
  Reply With Quote
Old 29-09-2006, 08:21   #5 (permalink)
RichieH
Registered User
 
Join Date: Sep 2006
Posts: 2
Or do away with them entirely

Love 'em or hate 'em (and I'm undecided), I usually just do a Contact Us form, take the user's input and email it server side, so email addresses aren't visible publically at all.

- Richard H
  Reply With Quote
Old 29-09-2006, 12:26   #6 (permalink)
Dusteh
Sir digby chicken caesar
 
Dusteh's Avatar
 
Join Date: Sep 2004
Posts: 4,815
When a client demands email, I use this bit of javascript:

var username = "youremailname";
var hostname = "yourwebsite.com";
var linktext = username + "@" + hostname;
document.write("<a href=" + "mail" + "to:" + username +
"@" + hostname + ">" + linktext + "</a>")

Just shows nothing with javascript turned off... I can live with that.
  Reply With Quote
Old 29-09-2006, 13:25   #7 (permalink)
Mr Fred
Magazines™
 
Mr Fred's Avatar
 
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,354
we need this as well.

well maybe - i'll let stick decide - he knows what hes on about.
  Reply With Quote
Old 29-09-2006, 17:44   #8 (permalink)
rYno
web architect
 
Join Date: Sep 2006
Location: Az
Posts: 1
I use this:
http://automaticlabs.com/products/enkoderform/

Quote:
The Enkoder protects email addresses by converting them into encrypted JavaScript code, hiding them from email-harvesting robots while revealing them to real people.
  Reply With Quote
Old 19-10-2006, 13:15   #9 (permalink)
mathias
Refrigerated User
 
mathias's Avatar
 
Join Date: Mar 2006
Location: Central US
Posts: 163
What's the real reason for not giving emails on biz sites? Never heard of harvesters.
  Reply With Quote
Old 19-10-2006, 14:10   #10 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
They're the bots that crawl the web looking for email addresses to send spam to.
  Reply With Quote
Old 19-10-2006, 14:29   #11 (permalink)
mathias
Refrigerated User
 
mathias's Avatar
 
Join Date: Mar 2006
Location: Central US
Posts: 163
ah. wankers!

Are they content sensitive somehow (like Google ads), or totally indescriminate?
  Reply With Quote
Old 19-10-2006, 14:29   #12 (permalink)
Scott
sanddancer
 
Scott's Avatar
 
Join Date: Feb 2004
Location: South Shields
Posts: 2,924
Send a message via MSN to Scott
heres a picture of one them in action:

__________________
  Reply With Quote
Old 19-10-2006, 15:19   #13 (permalink)
mathias
Refrigerated User
 
mathias's Avatar
 
Join Date: Mar 2006
Location: Central US
Posts: 163
Run out and take a shot of yer backyard real quick, just for me? heh, punk.

Seriously, though, I was wondering if they could parse through flash movies with HTML text?
  Reply With Quote
Old 09-11-2006, 17:42   #14 (permalink)
EngAdven
Specialist SEO CMS
 
EngAdven's Avatar
 
Join Date: Oct 2006
Location: Devon, UK
Posts: 28
Using forms is the best way althougth the ba......ds are starting to try to attack those now.
Replacing characters as below should also help if you have to put one on your site. It still works but should be better hidden from spiders

m&#x61;iltoto=info&#x40;mywebsite.co.uk&subject= Mail%20from%20

converting the smily back to : ? without the space
  Reply With Quote
Old 12-02-2007, 06:56   #15 (permalink)
bluesage
Senior Member
 
Join Date: Dec 2006
Location: Switzerland
Posts: 356
With most websites, the contact information of the owner appears in the Whois information unless a Privacy Whois is possible, but certain domain names / domain registrars dont accept that.

So any spamming bot can search whois databases for emails too.
  Reply With Quote
Old 12-02-2007, 08:54   #16 (permalink)
pedge
Crazy diamond...
 
pedge's Avatar
 
Join Date: Apr 2004
Location: Liverpool (UK)
Posts: 745
Quote:
Originally Posted by Dusteh
When a client demands email, I use this bit of javascript:

var username = "youremailname";
var hostname = "yourwebsite.com";
var linktext = username + "@" + hostname;
document.write("<a href=" + "mail" + "to:" + username +
"@" + hostname + ">" + linktext + "</a>")

Just shows nothing with javascript turned off... I can live with that.

That's what we use - seems to do the trick too...
__________________
Effervescing Elephant
  Reply With Quote
Old 12-02-2007, 09:50   #17 (permalink)
chazthetic
Fucking Awesome
 
chazthetic's Avatar
 
Join Date: Feb 2007
Location: Orlando, Fl
Posts: 513
Send a message via AIM to chazthetic Send a message via Skype™ to chazthetic
i'm starting to use the javascript trick, but bluesage is right.
  Reply With Quote
Old 12-02-2007, 14:52   #18 (permalink)
LadynRed
Senior Member
 
Join Date: Mar 2006
Posts: 147
I discovered the same script as Pedge.. works like a charm and I even figured out how to include a 'subject' for the email. I'm not a JS guru, I can do enough to get by
  Reply With Quote
Old 13-02-2007, 10:06   #19 (permalink)
gk
geek
 
gk's Avatar
 
Join Date: Oct 2006
Location: *.everywhere
Posts: 204
Send a message via ICQ to gk Send a message via AIM to gk Send a message via MSN to gk Send a message via Yahoo to gk
A little something I put together. works in case the user has javascript disabled.

HTML Code:
<a href="mailto:email(AT)yourdomain(DOT)com" id="emial">email(AT)yourdomain(DOT)com</a> <script type="text/javascript"> <!-- function maleto(name,domain,id,inner){ $elm=document.getElementById(id); var t1='mai'; var t2='lto:'; $elm.href=t1+t2+name+String.fromCharCode('64')+domain; if(inner) $elm.innerHTML=name+String.fromCharCode('64')+domain; } maleto('email','yourdomain.com','email',TRUE); //--> </script>
  Reply With Quote
Old 14-02-2007, 03:48   #20 (permalink)
ZackB
Registered User
 
ZackB's Avatar
 
Join Date: Feb 2007
Posts: 19
i use pics
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8