Bin Email Spam Protection

The Email Spam Protection Plugin is an easy-to-use and configuration-free plug-in to protect email addresses from automatically collecting by spam bot …

Author:Berg Informatik (profile at wordpress.org)
WordPress version required:3.7
WordPress version tested:5.7.2
Plugin version:1.1.0
Added to WordPress repository:14-10-2019
Last updated:26-03-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://berginformatik.ch/plugins/bin-email-s...
Total downloads:3 128
Active installs:30+
plugin download
Click to start download

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');