AntiSPAM e-mail address. (Full Version)

All Forums >> [Web Development] >> General Web Development



Message


megabuff -> AntiSPAM e-mail address. (7/29/2006 9:22:25)

Copy/paste the correspoding code to display your e-mail address on your webpage. Doing it this way prevents your e-mail address from being picked up by Spambots (spam robots) that harvest e-mail addresses automatically from the internet.

Step 1) Copy the first portion of the script and paste it in the HTML code of your web page. This first portion of the script should be pasted between the <head> and the </head> tags of your web page.


<SCRIPT LANGUAGE="JavaScript">
var user;
var domain;
var suffix;
function jemail(user, domain, suffix){
document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + user + '@' + domain + '.' + suffix + '</a>');
}
</script>

Step 2) Copy the following code and paste it on the <body> of your website. Modify the three different fields to display your actual username, domain name and domain extension

<SCRIPT LANGUAGE="JavaScript">
jemail("webmaster", "yourdomain", "com");
</script>

Step 3) Finally, modify the three different fields to display your actual username, domain name and domain extension.

This will display your e-mail address like this: noreply@bodiorganic.com.

You can read it and think it's just text, but spam robots will not be able to read it, so it reduces the chance of it getting harvested by spammers. [:D]




Kev






d a v e -> RE: AntiSPAM e-mail address. (7/29/2006 14:35:54)

what if you have js disabled? what do you get?

i've been using this http://www.pinnacledisplays.com/unicode-converter.htm instead




BobbyDouglas -> RE: AntiSPAM e-mail address. (7/30/2006 2:45:15)

The only problem I see with the unicode method, is that I believe smart bots will look for the @ (or whatever the equiv is to the @) and then use that to harvest the e-mail.

I think people without JS need to upgrade.




d a v e -> RE: AntiSPAM e-mail address. (7/30/2006 2:56:41)

can they read unicode then ??
i've had these emails at this address http://members.tiscali.fi/dave_pirjo/test-area/spamtest.htm encoded with unicode and ok maybe it's not worth indexing the page but i've had NO spam to these addresses ;)

i think people without js need to upgrade to but sometimes they're hands are tied by IT/IS (kinky those IT people) or whatever the policies are of their work place.




Pandora -> RE: AntiSPAM e-mail address. (8/22/2006 21:03:34)

Ive never found the need, I always put
webmaster(@) my site.com
It seems to do the trick!




d a v e -> RE: AntiSPAM e-mail address. (8/23/2006 11:34:55)

except it's easier to click on the link than it is to copy and paste and remove the brackets ;)




Reflect -> RE: AntiSPAM e-mail address. (8/23/2006 14:19:19)

Dave,

I also was a uniencode user. I have been shown, around a year ago, that it is able to rip the address.

At that point I went contact form solely.

Take care,

Brian




Tailslide -> RE: AntiSPAM e-mail address. (8/23/2006 14:46:43)

Brian - what about hex/iso mix?




hollie_26 -> RE: AntiSPAM e-mail address. (8/23/2006 22:01:16)

Hey, thanks for this. I'm going to test this right now.




jaybee -> RE: AntiSPAM e-mail address. (8/24/2006 5:12:47)

Hollie there is another thread around, several in fact, dealing with the same thing and lots of different solutions so it might be worth tracking those down as well.

Oh and welcome to Outfront. [:D]




Reflect -> RE: AntiSPAM e-mail address. (8/24/2006 11:36:28)

Tail,

Never tried that combo, sorry.

For my form spam, and it did come even with JS protection (I assume JS was disabled or it was a bot), that started I inserted a CAPTCHA script...works great.

Brian




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875