Description
The plugin searches the content before output and replaces all emails with a tricky javascript spam protection. The visitor will not notice any change, only spam bots can not grab your emails anymore. For your themes, the plugin provides some handy helper functions to protect emails.
BinEmailSpamProtection::cryptMail('mail@example.com') = javascript:DeCryptX('jogpAflti/di')
BinEmailSpamProtection::cryptMailLink('mail@example.com', [optional text]) = <a class="noSpam" href="javascript:DeCryptX('jogpAflti/di')"><span class="noSpam-text">mail@<span class="noSpam-at">nospam-</span>example.com</span></a>
BinEmailSpamProtection::linktext('mail@example.com') = <span class="noSpam-text">mail@<span class="noSpam-at">nospam-</span>example.com</span>
To avoid problems when the plugin is not active, check to see if the class exists before using it:
$protected = (class_exists('BinEmailSpamProtection') ? BinEmailSpamProtection::cryptMail('mail@example.com') : 'mailto:'mail@example.com');
Installation
- Download, unzip and upload to your WordPress plugins directory
- Activate the plugin within you WordPress Administration Backend
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Email Spam Protection” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Email Spam Protection” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
- Initial release