/    Sign up×
Community /Pin to ProfileBookmark

How to hide email addresses on websites?

Hi all
Don’t know if you can help but I have been getting lots of spam lately and have been told that it could be because my email address is on my website, and also isn’t hidden in my form scripts.
Does anyone know how I can hide my email address so no-one can pick it up?
Thanks,
Jess

PS – I’m not very script/html literate if anyone knows I’d be really grateful for straightforward, not-to-techy expanations! Thanks, J

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@StashXJan 22.2005 — there are many ways....

It depents on where and how your email is used in the page....

If you post the address of the page we could help you....
Copy linkTweet thisAlerts:
@herodote92Jan 22.2005 — I suppose you can split the address in small pieces, like this:

[email][email protected][/email]

var x = "thisg";

var y = "uy@th";

var z = "iscompany.com";

and then join the pieces together with Javascript when you need to insert a "mailto:". I suppose this makes it harder for robots, but of course you still can see the whole address on your screen when mousing over the link.
Copy linkTweet thisAlerts:
@CharlesJan 22.2005 — [i]Originally posted by herodote92 [/i]

[B][Y]ou still can see the whole address on your screen when mousing over the link. [/B][/QUOTE]
Only those who are using JavaScript, the one in ten who do not will not be able to contact you to tell you that your page doesn't work on their browser. You need to have users send you their commments in a form. Your server side, form handling script will then mail the comment to you.
Copy linkTweet thisAlerts:
@jessycatauthorJan 23.2005 — Thanks for your help. Can't robots pick up email addresses from forms too, unless they are hidden?

Website in question is www.elizabethholland.com

Cheers,

Jess
Copy linkTweet thisAlerts:
@CharlesJan 23.2005 — If your FORM is using the client's local email program to send you the information, then yes every robot will harvest your address. You want the FORM to send to a [i]script[/i], running on your server. This script alone will know your address and then forward the information to you.
Copy linkTweet thisAlerts:
@FangJan 23.2005 — Changing your ascii to unicode may fool the spambots; [URL=http://andrew.hedges.name/experiments/obfuscator/]e-mail obfuscator[/URL]
Copy linkTweet thisAlerts:
@zipperJan 25.2005 — Hi this isn't really a javescript answer but if you don't want "bots" to pick up your email address display it on your page a picture.

Sure it means everyone will have to physically email you rather than getting presented with a nice mailto but if they really want to contact you they will... won't they ??
Copy linkTweet thisAlerts:
@CharlesJan 25.2005 — [i]Originally posted by zipper [/i]

[B]Hi this isn't really a javescript answer but if you don't want "bots" to pick up your email address display it on your page a picture.

Sure it means everyone will have to physically email you rather than getting presented with a nice mailto but if they really want to contact you they will... won't they ?? [/B]
[/QUOTE]
But be certain to include the address in the image's "alt" attribute so people using Braille and audio browsers can contact you.
×

Success!

Help @jessycat spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...