Title: Email JavaScript Cloak
Author: cgarvey
Published: <strong>Agost 19, 2013</strong>
Last modified: Desembre 8, 2018

---

Search plugins

![](https://ps.w.org/email-javascript-cloaker/assets/banner-772x250.png?rev=758471)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/email-javascript-cloaker_fce6df.svg)

# Email JavaScript Cloak

 By [cgarvey](https://profiles.wordpress.org/cgarvey/)

[Download](https://downloads.wordpress.org/plugin/email-javascript-cloaker.rel_1-03.zip)

 * [Details](https://bal.wordpress.org/plugins/email-javascript-cloaker/#description)
 * [Reviews](https://bal.wordpress.org/plugins/email-javascript-cloaker/#reviews)
 *  [Installation](https://bal.wordpress.org/plugins/email-javascript-cloaker/#installation)
 * [Development](https://bal.wordpress.org/plugins/email-javascript-cloaker/#developers)

 [Support](https://wordpress.org/support/plugin/email-javascript-cloaker/)

## Description

This plugin lets you use a shortcode to automatically generate ‘cloaked’ email addresses
in your content.

_What is cloaking?_
 Take an email address like barack@whitehouse.gov. If that was
to appear on one of your posts/pages, it could easily be ‘scraped’ or ‘harvested’
automatically to add that email address to a spam list of some sort. Cloaking is
all about making that harder to do.

_How does this plugin do its cloaking?_
 For any email address you include in your
content, using the custom shortcode of [email barack@whitehouse.gov], that email
address will appear as “barack -at- whitehouse -dot- gov” in your content initially.
JavaScript running in the browser will then convert that email address to a regular,
clickable, email link. Whilst it may seem pointless to convert a regular email address
to a strange format only to convert it back again, the idea is that most automated‘
scrapers’, or ‘harvesters’, do not run JavaScript and hence won’t be able to pick
up on the non-standard email address. The vast majority of users visiting your site
will have JavaScript, and will see regular email addresses (not the strange format).

_What about users who have no JavaScript, or have it disabled?_
 They will see the
strange format (“barack -at- whitehouse -dot- gov”). You can include a footnote 
using a custom short code [emailnojs] which will explain the strange format, if 
you wish to cater for that tiny minority of visitors.

### License

This plugin uses the GPLv3 license.

## Screenshots

 * [[
 * Sample use of the [email] custom shortcode.
 * [[
 * How use of the [email] custom shortcode appears on a regular JavaScript-enabled
   browser.
 * [[
 * How use of the [email] custom shortcode appears on a browser with JavaScript 
   disabled.

## Installation

There are 2 ways of installation. If your setup supports it, you can search for 
the plugin, by name, within your WordPress control panel, and install it from there.

Alternatively, you download the .zip file, unzip it, and copy the resultant `email-
js-cloak` folder to the `wp-content/plugins/` folder of your WordPress instaltion
folder.

## FAQ

There are no FAQs at this time. Feel free to suggest some!

## Reviews

![](https://secure.gravatar.com/avatar/4655252743479cde6eef386670a292d690a20de66942769f6d3784fc4608be52?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-9405/)󠁿

 [George Abbas](https://profiles.wordpress.org/munzirstudio/) Setembre 3, 2016

Joomla has its own email cloaking, time for wordpress to have it too! Good job!

 [ Read all 4 reviews ](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/)

## Contributors & Developers

“Email JavaScript Cloak” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ cgarvey ](https://profiles.wordpress.org/cgarvey/)

[Translate “Email JavaScript Cloak” into your language.](https://translate.wordpress.org/projects/wp-plugins/email-javascript-cloaker)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/email-javascript-cloaker/),
check out the [SVN repository](https://plugins.svn.wordpress.org/email-javascript-cloaker/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/email-javascript-cloaker/)
by [RSS](https://plugins.trac.wordpress.org/log/email-javascript-cloaker/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

 * Version 1.03 – Fix PHP callback warning (thanks to Simon Schaller).
 * Version 1.02 – Confirm compatibility with WordPress v4.0.
 * Version 1.01 – Remove debug code (affects earlier MSIE versions).
 * Version 1.00 – Initial release.

## Meta

 *  Version **1.03**
 *  Last updated **7 anys ago**
 *  Active installations **500+**
 *  WordPress version ** 3.5.0 or higher **
 *  Tested up to **5.0.25**
 *  Language
 * [English (US)](https://wordpress.org/plugins/email-javascript-cloaker/)
 * Tags
 * [cloaking](https://bal.wordpress.org/plugins/tags/cloaking/)[email address](https://bal.wordpress.org/plugins/tags/email-address/)
   [harvest](https://bal.wordpress.org/plugins/tags/harvest/)[spam](https://bal.wordpress.org/plugins/tags/spam/)
 *  [Advanced View](https://bal.wordpress.org/plugins/email-javascript-cloaker/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/)

## Contributors

 *   [ cgarvey ](https://profiles.wordpress.org/cgarvey/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/email-javascript-cloaker/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6137112)