A LIST Apart: For People Who Make Websites

No. 248

Discuss: Graceful E-Mail Obfuscation

Pages

« First  <  9 10 11

101 My method...

My method of displaying email addresses is simple enough that it doesn’t require heavy scripting nor massive legwork on the user’s part.

“If you would like to get in contact with me, you may email gibson at the domain this site currently resides.”
(I haven’t really put much time into this short line. I just wanted to get the point across.)

I feel that displaying an email in a more cunning fashion, such as this, can accomplish a number of goals when trying to filter email.

  1. The amount of spam is greatly reduced, of course. As far as I know, no currently effective bots can grab an email address from this text.
  2. The amount of “superfluous” messages are greatly reduce. I feel that all other messages can go to the comments box if a user is too lazy to manually type in an email address if they would like to speak with me. (Please tell me if I’m biased or just plain wrong.)
  1. Completely cross-browser compatible. No scripting == less browser-incompatibilities.

This method has proven to be quite useful and has eliminated 100% of spam messages (not to mention the number unneeded ones).

posted at 05:56 pm on December 16, 2008 by Gibson Starkweather

102 Simple Obfuscator

Excellent article. Unfortunately I have to work with an undocumented proprietary content management system written in ASP. I have come up with a simple email obfuscator based on numeric character references, JavaScript and CSS. Take a look at my blog post at www.pixelwisedesign.com/blog/?p=40 if you are in a similar situation and cannot utilize a server side language.

posted at 09:56 pm on February 18, 2009 by Shawn Stedman

Pages

« First  <  9 10 11

Got something to say?

Discuss this article. We reserve the right to delete flames, trolls, and wood nymphs.

Create a new account or sign in below if you’d like to leave a comment.

Remember me

Forgot your password?

Subscribe to this article's comments: RSS (what’s this?)