Categories > Your tips & tricks >

An 'ondata' function for cloaking email addresses from database

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: TomH
Date: 2006-02-23
Time: 22:14

An 'ondata' function for cloaking email addresses from database

In attempting to avoid doing yet another "Contact" form using db record 'id' to get around the email harvesting issue most clients are rightfully concerned about, I set out to find a javascript email cloaking routine and then adapt it to be used from inside a TBS 'ondata' function.

The result is here http://www.tomhenry.us/tbs/ middle of the page (yes, with source code)

Please... if you have a better js routine for this - let me know... if you find improvements, let me know.

HTH
Tom

By: oxman
Date: 2006-03-30
Time: 08:34

Re: An 'ondata' function for cloaking email addresses from database

Nice :)