Author Topic: Scramble your email (on websites) for spammers  (Read 2898 times)

Offline Mrious_be

  • TS Addict
  • *****
  • Posts: 3156
    • View Profile
    • http://www.marceldaems.com
Scramble your email (on websites) for spammers
« on: May 12, 2003, 01:16:43 PM »
Hi people smile.gif

I downloaded this litte piece of freeware but haven't tested it yet.
Still, since it's free i just wanted to tell everybody about it.
It seems capable of adding an (your?) email address on a website, but somehow securing it from "sniffers" out there.

It's called Enkoder and to me, it looks great.
Looks like an upgrade btw, so some of you might already know/use it (any comments?).

smile.gif
[img]http://dwdf.daisypath.com/a4ipp1.png\" border=\"0\" class=\"linked-sig-image\" /]

Offline Spartacus

  • TS Addict
  • *****
  • Posts: 547
    • View Profile
    • http://www.theapplemuseum.com
Scramble your email (on websites) for spammers
« Reply #1 on: May 12, 2003, 02:18:09 PM »
Or use this code:

CODE
<script language="Javascript1.1" type="text/javascript">
    var name = 'name';
    var domain = 'domain.com';
    var protocol = 'mailto:';
    document.write('<a href="' + protocol + name + '@' + domain + '" class=text>link</a>');
</script>



I am using it on all of my websites.
Unfortunately, my eMail accounts are already "infested" by spam (and changing them is not an option).
Power Macintosh G5 (Late 2004), 1.8 GHz, 1GB RAM, DVD/CD-RW combo, ATI Radeon 9600XT
w. Lacie electron blue IV 19-inch CRT display
iPod mini, 4 GB
AirPort Express
HP LaserJet 4200N
HP DeskJet 6940

Offline tacit

  • TS Addict
  • *****
  • Posts: 1628
    • View Profile
    • http://www.xeromag.com/
Scramble your email (on websites) for spammers
« Reply #2 on: May 13, 2003, 02:02:32 PM »
There are two problems with using JavaScript to encode an email address:

1. Non-JavaScript-enabled browsers can't see or use the link; and

2. Some email spambot software can still locate the email address anyway.

So, in short, it does not stop all spambots from collecting your email address, and it does stop some legitimate users from seeing your email address.

Unfortunately, it's  not a perfect solution. Other tricks exist to do the same thing (for example, you can write your email address just as "someone%40somedomain.com" rather than "someone@somedomain.com"; the "%40" is the ASCII code for "@").
A whole lot about me: www.xeromag.com/franklin.html

Offline Mrious_be

  • TS Addict
  • *****
  • Posts: 3156
    • View Profile
    • http://www.marceldaems.com
Scramble your email (on websites) for spammers
« Reply #3 on: May 14, 2003, 12:41:01 PM »
QUOTE(Spartacus @ May 12 2003, 9:18 PM)
I am using it on all of my websites.
Unfortunately, my eMail accounts are already "infested" by spam (and changing them is not an option).

Yeah, same problem here sad.gif
I do have the opportunity to alter my email account and i'm thinking i will do so in the future somewhere.
Thx for the code, but where exactly do i need to paste that in the html page?

QUOTE(Tacit)
Unfortunately, it's  not a perfect solution. Other tricks exist to do the same thing (for example, you can write your email address just as "someone%40somedomain.com" rather than "someone@somedomain.com"; the "%40" is the ASCII code for "@").

The ASCII code looks simple yes, but don't you think those "sniffers" just recognise them?
I guess, there will always be software to go around every trick they think of, but if we are ellimination like 80% of the bots, than i'm a happy man smile.gif

Thx guys smile.gif
« Last Edit: May 14, 2003, 12:45:11 PM by Mrious_be »
[img]http://dwdf.daisypath.com/a4ipp1.png\" border=\"0\" class=\"linked-sig-image\" /]

Offline tacit

  • TS Addict
  • *****
  • Posts: 1628
    • View Profile
    • http://www.xeromag.com/
Scramble your email (on websites) for spammers
« Reply #4 on: May 14, 2003, 02:47:48 PM »
Eliminating 80% of the Spambots won't eliminate 80% of the spam, because spammers trade addresses. Really, all it takes is just one bot snagging your email address to get you flooded with spam.

I personally don't bother with any of the spam-concealing Web tricks, because I don't believe they'll stop spammers from getting my email, and I do think that some of them will stop people who SHOULD have my email from getting it.
A whole lot about me: www.xeromag.com/franklin.html

Offline Paddy

  • Administrator
  • TS Addict
  • *****
  • Posts: 13797
    • View Profile
    • https://www.paddyduncan.com
Scramble your email (on websites) for spammers
« Reply #5 on: May 14, 2003, 03:44:01 PM »
I respectfully disagree with tacit - I use the following ASCII code - &-#-64-; (remove the dashes!) on my web sites in place of the ampersand and so far (over a year now) have seen hardly any spam. One of my websites typically gets about 100 unique visitors each weekday, another one has had almost 4000 unique visitors in the past year, so while they aren't exactly Amazon.com, they do receive traffic, and show up quite near the top in fairly general Google searches. So far, so good - I keep waiting for trouble, but so far I've been lucky.  smile.gif

My own theory is that the spambots are able to collect quite enough email addresses by just looking for the ampersands - they don't need to go looking for the various ASCII variations!
"If computers get too powerful, we can organize them into committees. That'll do them in." ~Author unknown •iMac 5K, 27" 3.6Ghz i9 (2019) • 16" M1 MBP(2021) • 9.7" iPad Pro • iPhone 13

Offline Mrious_be

  • TS Addict
  • *****
  • Posts: 3156
    • View Profile
    • http://www.marceldaems.com
Scramble your email (on websites) for spammers
« Reply #6 on: May 15, 2003, 10:35:51 AM »
Thanks for all info guys smile.gif
I'm gonna see if i can create an new email box on my account first, than i'm going to try the ASCII variation.
I might be coming on this topic back in a week or two.

Thx for opinions smile.gif
[img]http://dwdf.daisypath.com/a4ipp1.png\" border=\"0\" class=\"linked-sig-image\" /]

Offline Gary S

  • TS Addict
  • *****
  • Posts: 2503
    • View Profile
Scramble your email (on websites) for spammers
« Reply #7 on: May 15, 2003, 11:00:35 AM »
How do these "spambots" exactly work? huh.gif
Gary S

Offline Paddy

  • Administrator
  • TS Addict
  • *****
  • Posts: 13797
    • View Profile
    • https://www.paddyduncan.com
Scramble your email (on websites) for spammers
« Reply #8 on: May 15, 2003, 12:07:31 PM »
Gary, "exactly", I couldn't tell you - I'm not a programmer - but from what I've read, they troll web sites looking for emails.

There are things you can add to your code to prevent bots/spiders from collecting emails from your site, by not allowing them access to the page in the first place. Just found an incredible forum for webmasters - http://www.webmasterworld.com, with a 17 page thread spanning over 18 months on the subject. A lot of it is over my head...

http://www.webmasterworld.com/forum13/687.htm

And more: http://www.webmasterworld.com/forum11/1608.htm

And finally - read Dreamquick's post on:

http://www.webmasterworld.com/forum11/1668.htm

It explains why the encoding, for the most part, works (for now!).

Other methods:

http://www.webmasterworld.com/forum23/3.htm

And if you do a search on webmasterworld.com you will come up with TONS of information, opinions etc. The links I've posted are from a quick search and picking out what looked like the most relevant/understandable posts from over 250 threads with discussions on email spiders/bots.  Looks like a very interesting forum to poke around in... if you're a webmaster! wink.gif
"If computers get too powerful, we can organize them into committees. That'll do them in." ~Author unknown •iMac 5K, 27" 3.6Ghz i9 (2019) • 16" M1 MBP(2021) • 9.7" iPad Pro • iPhone 13

Offline Gary S

  • TS Addict
  • *****
  • Posts: 2503
    • View Profile
Scramble your email (on websites) for spammers
« Reply #9 on: May 15, 2003, 12:29:25 PM »
Thanks Paddy. smile.gif

After reading some of that stuff over there it appears my spam problem is small but I still don't like them.
Gary S

Offline Diana

  • Super Poster
  • ***
  • Posts: 410
    • View Profile
Scramble your email (on websites) for spammers
« Reply #10 on: May 15, 2003, 01:22:05 PM »
I know I've posted some about this before, but I also have a javascript e-mail encryptor that works really well.

I got it from this site:
Tim's site

I took his script and changed the wording that is given for those browsers that aren't javascript aware and placed it Here

Actually, I saved that page to my hard drive and bookmarked it on my own hard drive so that I can access it easily while working on web sites. Feel free to do that if you wish. Just remember it's Tim's, not mine..smile.gif

Tacit is correct about some browsers not being able to handle javascript...but those are getting fewer and fewer. The script above will write a special line letting people using those browsers know that they're missing something. I  dislike "browser arrogance"..that which thinks it's important to be "optimized" for a specific browser, but in this case, I prefer the protection my e-mail address is given by these techniques. *wink..I also put my phone number or mailing address in a conspicuous place for people with challenges.
Diana
Sysadmin Rule #14: If it's not on fire, it's a software issue.

Registered Linux user 290473
http://counter.li.org/
http://www.crestcomm.com/diana/gnupg.txt for GnuPG public key  

Offline Xairbusdriver

  • Administrator
  • TS Addict
  • *****
  • Posts: 26388
  • 27" iMac (mid-17), Big Sur, Mac mini, Catalina
    • View Profile
    • Mid-South Weather
Scramble your email (on websites) for spammers
« Reply #11 on: May 17, 2003, 06:42:23 PM »
Whether 'bots' are smart enough yet to read ASCII or javascript yet has not been proven. Until it is, I feel I have a responsibility to prevent their access to addresses on a public site as best I can. That's why I use ASCII coding. While javascript capable browsers may be dominant, most can turn off its use, I'm just too lazy to 'sniff' for that, I just use what I know will work, even in a text-only browser.

I use SPAMstopperin OS 9. I don't see it in the authors site right now, but I'll bet he can provide it. He does have a version for X, however. I'm sure there are other programs similar to this one. I like it because it has many options to 'encode' exactly what you want. The easiest would be to just encode the word 'mailto:' which seems to be the most common search word for bots. I use the 'Full Paranoid' choice, leaving nothing but ASCII for everything.

I recently made a page (not live yet) to allow registration for Vacation Bible School. Because of my concerns for cost (secure access costs about half as much as our yearly fees) and the vulnerablility of e-mail, I limited the form to just a phone number and a list of choices to be called for further info. I have seen other sites that ask for everybodys name (parent, child, emergency contact), phone numbers, addresses, age, and even special health problems of the child! ohmy.gif  I find that absurdly compromising of peoples information and possibly legally dangerous! Perhaps I'm just paranoid! I just don't see why we should make all this info so easily available to anyone, even if some of it is 'public' knowledge.

I had concerns that the CGI that handles the e-mailing of the form did not allow the 'hiding' of the e-mail addresses in the HTML. My only 'safety' is the hope that the bots don't look for the "@" character too much and that they probably won't recognize "hidMAIL_TO" as the same as "mailto".

Jim C.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system
CAUTION! Childhood vaccinations cause adults! :yes: