tips and tricks for movable type

anti-spam addresses
June 13, 2002

Need to protect my email address from spambots on my pages. Two methods available.

Of course, inside of Movable Type templates, the spam_protect attribute is the way to go!

The first, from HiveLogic, uses Javascript:

<script type="text/javascript">
<!--
var hashKey = 'E533A39CEBC5404F88FCEF769E82A163'; document.write('<a href="mailto:girlie@thegirliematters.com" title="send me mail">email me<\/a>');
// -->
</script>

And the non-Javascript version, from The Email Obfuscator (found via Kristine here):

<a href="mailto:girlie@thegirliematters.com"> girlie@thegirliematters.com</a>

(Note to self: copy the code from the entry edit box or the source of this page!!)

Comments

What? how does this protect spammers' bots from getting your email address off your website?

by Kieran | 10.07.02 09:44 AM

The only way to understand it is for you to view the source on this page. It displays properly in the browser, but in the source (which the bots are scavenging in) it's not in typical "email address" fashion - so they miss it.

by girlie | 10.07.02 07:53 PM

the is also another very simple way which is the one i use: instead of using an @, try using %40 instead. the display is the same, but it's a loss for the bots!

by sweethell | 01.16.03 02:30 PM

I've used this for years:
phil&#64;philsown.com
and it's worked (for other addresses that are on pages but i don't use all the time)

by Phillip Harrington | 02.13.03 07:52 PM

That's the & # 64 entity I mean... came out coded on the page... :-P

by Phillip Harrington | 02.13.03 07:53 PM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

TrackBack: 2
(URL: http://www.thegirliematters.com/sf/mt-track.cgi/39)

» ctrl+c ctrl+v
Excerpt: i've been a happy little copy and paster the last couple of days. i finally got around to installing the
Weblog: TummyMonsters
Tracked: 01.13.03 10:48 AM

» Movable Type Enhancements
Excerpt: In trying to determine whether Movable Type (MT) was a feasible backend for OK/Cancel, I found a variety of sites and discovered just how big the MT community really was. If there's a function you can think of (and many...
Weblog: my:dentity
Tracked: 09.28.03 11:33 AM