Cosmic Spam Protection

Protect your email address against spam bots with ease. Just install our plugin and your emails are safe.

Author:Cosmic WP (profile at wordpress.org)
WordPress version required:3.7
WordPress version tested:5.2.2
Plugin version:1.5
Added to WordPress repository:02-11-2018
Last updated:19-08-2019
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://www.cosmicwp.com
Total downloads:837
Active installs:20+
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 the emails anymore. For your themes, the plugin provides two handy helper functions to protect emails.

Cosmic_SpamProtection::cryptMail('mail@example.com') = javascript:DeCryptX('jogpAflti/di')

Cosmic_SpamProtection::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>

Cosmic_SpamProtection::linktext('mail@example.com') = <span class="noSpam-text">mail@<span class="noSpam-at">nospam-</span>example.com</span>