Finds email addresses and links on any Perch-enabled page and changes them to Javascript (with a "noscript" notice) to help hide them from spambots.
Lets you use real, live, clickable, copyable email addresses and sleep a bit better knowing there is at least SOME spam protection. And even better, it works automatically on every email address on the page.
Should work with any Perch 2.x site.
- Use and abuse this at your own risk.
- This app may completely break your site because it uses PHP's output buffer and some regex voodoo. If things go haywire (or shockingly blank), just comment out the app runtime in /perch/config/apps.php and yell at me here.
- Add the kirk_email_obfuscator folder to your /perch/addons/apps folder.
- Include the runtime.php in your /perch/config/apps.php file:
include(PERCH_PATH.'/addons/apps/kirk_email_obfuscator/runtime.php');
- Add emails to your site content with carefree bliss.
- added check to make sure the delimiter is present
- now only replaces emails after the closing tag
- initial version