Plugins - graceful mailto obfuscator
Add to favoritesgracefully obfuscates emails as described in a list apart: http://www.alistapart.com/articles/gracefulemailobfuscation
calling mail_to("me@mail.com", "mail me") will generate a link with the href /contactto/new/zr+znvy+pbz, and the classname "obfuscated".
for users who do not have javascript turned on, /contactto/new collects a message which can be submitted to an action which sends the email, without it ever being divulged.
when javascript is turned on, a behaviour converts the obfuscated anchor into a normal mailto: link with the orignal email address. spam bots will now bounce off your site like frustrated popcorn.
http://playtype.net/past/2008/3/1/graceful_email_obfuscation_in_ruby/
http://svn.playtype.net/plugins/graceful_mailto_obfuscator/
Rails' (MIT)
Assets
