Title: Email JavaScript Cloak
Author: cgarvey
Published: <strong>2013 年 8 月 19 日</strong>
Last modified: 2018 年 12 月 8 日

---

搜索插件

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

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# Email JavaScript Cloak

 作者：[cgarvey](https://profiles.wordpress.org/cgarvey/)

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

 * [详情](https://cn.wordpress.org/plugins/email-javascript-cloaker/#description)
 * [评价](https://cn.wordpress.org/plugins/email-javascript-cloaker/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/email-javascript-cloaker/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/email-javascript-cloaker/#developers)

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

## 描述

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.

### 授权

This plugin uses the GPLv3 license.

## 屏幕截图

 * [[
 * 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.

## 安装

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.

## 常见问题

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

## 评价

![](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/) 2016 年 9 月 3 日

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

 [ 阅读所有4条评价 ](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/)

## 贡献者及开发者

「Email JavaScript Cloak」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Email JavaScript Cloak」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/email-javascript-cloaker)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/email-javascript-cloaker/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/email-javascript-cloaker/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/email-javascript-cloaker/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/email-javascript-cloaker/)。

## 更新日志

 * 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.

## 额外信息

 *  版本 **1.03**
 *  最后更新：**7 年前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 3.5.0 或更高版本 **
 *  已测试的最高版本为 **5.0.25**
 *  语言
 * [English (US)](https://wordpress.org/plugins/email-javascript-cloaker/)
 * 标签
 * [cloaking](https://cn.wordpress.org/plugins/tags/cloaking/)[email address](https://cn.wordpress.org/plugins/tags/email-address/)
   [harvest](https://cn.wordpress.org/plugins/tags/harvest/)[spam](https://cn.wordpress.org/plugins/tags/spam/)
 *  [高级视图](https://cn.wordpress.org/plugins/email-javascript-cloaker/advanced/)

## 评级

 5 星（最高 5 星）。

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

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

[查看全部评论](https://wordpress.org/support/plugin/email-javascript-cloaker/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/email-javascript-cloaker/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6137112)