Welcome to WebmasterWorld Guest from 34.239.158.107

Forum Moderators: open

Message Too Old, No Replies

Need script to hide e-mail addresses

From Spammers

     
12:30 am on Apr 18, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 20, 2003
posts:46
votes: 0


Anybody have a code to hide e-mail address from spammers getting them from the web sites? Thanks
3:08 am on Apr 18, 2006 (gmt 0)

Full Member

10+ Year Member

joined:Mar 5, 2003
posts:266
votes: 0


Here's a thread discussing how to hide email addresses:

[webmasterworld.com...]

2:14 am on Apr 20, 2006 (gmt 0)

Senior Member from US 

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

joined:Feb 12, 2003
posts:1208
votes: 0


Unfortunately that thread is outdated. There are now spambots that can see through encoding and through JavaScript document.write's. I wrote a good article on the subject of hiding email addresses from spambots but because of forum rules I'm not allowed to share it. (And please don't sticky me asking for it, I don't have time to screw around with PM's all day.)

As an extremely brief summary, you must give up at least one of the following to effectively hide your address:

* Address is visible
* Address is copyable
* Address is clickable

For example, if you use an image of the @ sign, then the address isn't clickable or copyable.

If you use a fill-in form on a webpage, then the address isn't visible.

Easiest solution: mail(at)mydomain.com. Ugly, not copyable, but it's invisible to spambots -- at least for now. It probably won't be for long.

Another solution: A form with a button that says "Click to show email address". When button is clicked, address appears in a form field. Much stronger than document.write.

There are no perfect solutions, you'll always give up something. Good luck.

2:23 am on Apr 20, 2006 (gmt 0)

Preferred Member

10+ Year Member

joined:Feb 10, 2006
posts:627
votes: 0


Not JS solution, however see this thread for info
[webmasterworld.com ]

msg#28

HTH

11:35 am on Apr 21, 2006 (gmt 0)

Senior Member from US 

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

joined:Feb 12, 2003
posts:1208
votes: 0


That one's even more obsolete! 2003! It's like using no protection at all.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members