Help - Search - Members - Calendar
Full Version: Has anyone tried this Anti-Spam Email script?
Movable Type Community Forum > Additional Resources > Tips and Tricks
chris.hunter
Hi

Like most people, I have email links on my web site. These are "mailto:" tags, so the actual address is not visible, but they're still easily targetted by spammers.

My host has recommended I use the Anti-Spam Email Displayer from www.javascriptkit.com. The details are here:

JavaScriptKit

Has anyone used this script successfully on a MT blog, or had success with similar scripts?

Thanks

Chris
LisaJill
CODE
MTEntryAuthorEmail
The email address of the author of this entry.

If the spam_protect attribute is provided, the email address will be modified so as to prevent spambots from harvesting it. The web browser, however, will still display the email address properly. For example, if the email address is foo@bar.com, and you use

<$MTEntryAuthorEmail spam_protect="1"$>

the email address will be displayed as foo@bar.com.


It's already done. Lots of bots can get around the javascript solution now. There are a variety of ways that people try, one is using an image, one that has it like blah AT blah DOT com etc etc.

Anyway, MT has this built in, check the docs for more info.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.