|
EProtect<< This Farm | Cookbook-V1 | Author From Password Prompt >> Note: The recipes here are for PmWiki versions 0.6 and 1.0 only. For PmWiki 2.0 recipes, see Cookbook.
Purpose eProtect is an email obfuscation add-on for PmWiki. It intercepts pages before they are saved, and rewrites email addresses in a protected format.Example: mailto:username@domain.net is automatically replaced with Upon viewing the page, this Viewing the source-code of the page will not reveal the true email address, nor will clicking on the "Edit Page" link. About Email ObfuscationEmail obfuscation is simple method of obscuring an email address so email harvesters cannot easily extract that information from your website. Email obsuscation is not encryption, so it's not terribly difficult for someone to write a de-obfuscation script, however, my preliminary research indicated that none of the top email harvesters currently on the market have any such features. UsageTo enable eProtect and render your click-able email address, simply write your email address in the form: See also: Cookbook.EProtectDemo for a screenshot of my test-page. It shows which instances of email addresses will be touched, and which ones won't. DownloadJust click the file below to download it. Don't forget to rename it to e-protect.php. Installation
DiscussionThere are (currently) a few limitations.
You can check out this screenshot of my testing to get a more visual sense of how it works (or doesn't work as the case may be). ![]() The above limitation are not bugs, they are just features that have not yet been implemented. This is just a beta, so more features will be added in the near future according to my time, your feedback, and your requests. Thanks, and I hope you enjoy the script. CommentsNOTE: The actual JS code should be run through htmlentities() before being printed out, or else the page won't come out as valid XHTML. --{~Ari} ResourcesI did a lot of research on spam, anti-spam, obfuscation, and email harvesters. I found quite a few sites and various methods and approaches. Here are just a few of the (better) sites that I visited.
CopyrightCopyright 2004, by Steven Leite under same terms as PmWiki (GNU GPL). E-mail address: stevenUNDERSCOREleiteATkitimatDOTnet (If eProtect was enabled on this site, I could have entered my address normally without worrying about my address being picked up by a spam bot!) pmwiki-2.2.0-beta68 -- Last modified by {{Joachim Durchholz}}
|