obscure email addresses

poisonpill - March 9, 2006 - 17:19

any way to obscure email addresses in drupal? I have a form for users to input their emails and I would like it to be blocked from bots in all areas... such as in /profile.

Thanks!

filters

greggles - March 10, 2006 - 00:35

Look at the URL Filter project - http://drupal.org/project/urlfilter

This will find email addresses in the page and turn them into mailto links. Whatever system you decide to use to obscure the address could be inserted into that module.

--
Knaddison Family Blog

encoding

dugh - July 9, 2008 - 01:10

I think he's talking about using javascript to encode the mailto link so that spambots can't read it.

The members module has a routine in its source code for javascript encoding mailto links, but I'm not aware of a standard drupal built-in function for doing this. Would be nice for cck/views, so you can show an email address encoded.

invisimail

dugh - July 11, 2008 - 01:49

see invisimail, although the input filter doesn't work at all for me in drupal 5

 
 

Drupal is a registered trademark of Dries Buytaert.