Title: Anti-Spambot
Author: Robert Peake
Published: <strong>2014 年 9 月 20 日</strong>
Last modified: 2021 年 7 月 13 日

---

搜索插件

![](https://ps.w.org/antispambot/assets/banner-772x250.png?rev=993940)

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

![](https://ps.w.org/antispambot/assets/icon-256x256.png?rev=1180191)

# Anti-Spambot

 作者：[Robert Peake](https://profiles.wordpress.org/robertpeake/)

[下载](https://downloads.wordpress.org/plugin/antispambot.1.1.6.zip)

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

 [支持](https://wordpress.org/support/plugin/antispambot/)

## 描述

Obfuscation of email via the `[email]...[/email]` shortcode syntax using built-in
[WordPress Codex](https://codex.wordpress.org/Function_Reference/antispambot#Examples)
functionality.

Alternative variations:

 * `[email]user@example.com?subject=foo+bar&body=baz[/email]` creates a mailto: 
   link with subject and body pre-populated
 * `[email nolink=1]user@example.com[/email]` just displays the email without a 
   link wrapping it
 * `[email linktext="click here"]user@example.com[/email]` displays the text “click
   here” with a link to the email address

## 屏幕截图

[⌊Use the [email]...[/email] tag to wrap your email input⌉⌊Use the [email]...[/email]
tag to wrap your email input⌉[

Use the `[email]...[/email]` tag to wrap your email input

[⌊This will display as an email address wrapped in a mailto: hyperlink (i.e. clickable
to open a mail client)⌉⌊This will display as an email address wrapped in a mailto:
hyperlink (i.e. clickable to open a mail client)⌉[

This will display as an email address wrapped in a mailto: hyperlink (i.e. clickable
to open a mail client)

[⌊The source code used to render this involves randomly-encoded characters, making
it more difficult for spambots to harvest⌉⌊The source code used to render this involves
randomly-encoded characters, making it more difficult for spambots to harvest⌉[

The source code used to render this involves randomly-encoded characters, making
it more difficult for spambots to harvest

## 安装

Install via “Add Plugin”.

## 常见问题

### 这如何运作？

This plugin converts email addresses within the `[email]...[/email]` shortcodes 
using the built-in WordPress Codex [antispambot()](https://codex.wordpress.org/Function_Reference/antispambot)
function. The function converts email address characters to HTML entities. It converts
a random selection of characters each time, making it more difficult for spam-bots
to “harvest” the email address programmatically.

### Is it foolproof?

The only foolproof way to ensure email addresses do not get harvested from a web
page is to not include them on the page in any form. However, the method created
by the WordPress developers that we employ here should provide reasonable protection
against all but the most concerted automatic-harvesting efforts.

## 评价

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

### 󠀁[Simple; easy to use!](https://wordpress.org/support/topic/simple-easy-to-use-49/)󠁿

 [Jana](https://profiles.wordpress.org/janajanasnydercom/) 2018 年 12 月 9 日

Users: For details about how to insert a subject line, body content, or how to use
your name (or any other text) for the link text, see the thread by Ma3ry in support.
Thanks for making this easy-to-use, elegant solution!

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

### 󠀁[Works perfectly on 10 different sites / 3 different hosting-services](https://wordpress.org/support/topic/works-perfectly-on-10-different-sites-3-different-hosting-services/)󠁿

 [presscode](https://profiles.wordpress.org/saschinger/) 2018 年 7 月 21 日 1 回复

Best in class 😉

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

### 󠀁[Awesome Plugin with Terrific Support!](https://wordpress.org/support/topic/awesome-plugin-with-terrific-support/)󠁿

 [ma3ry](https://profiles.wordpress.org/ma3ry/) 2016 年 9 月 3 日 1 回复

This plugin does exactly what it's supposed to do EASILY! Developer has also added
new features which have been really helpful to me. Many, many thanks!

 [ 阅读所有5条评价 ](https://wordpress.org/support/plugin/antispambot/reviews/)

## 贡献者及开发者

「Anti-Spambot」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Robert Peake ](https://profiles.wordpress.org/robertpeake/)

[帮助将「Anti-Spambot」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/antispambot)

### 对开发感兴趣吗?

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

## 更新日志

 * 1.1.5 – Tested with WordPress 5.3
    - 1.1.5 – Tested with WordPress 5.2
    - 1.1.4 – Tested with WordPress 5.1
    - 1.1.3 – Tested with WordPress 5.0
    - 1.1.2 – Tested with WordPress 4.9.5
    - 1.1. – Added support for ?subject= strings, nolink= shortcode attribute (just
      print) and linktext= shortcode attribute to specify link text
    - 1.0 – upgraded to stable version after eight months in the wild
    - 0.1-alpha – Initial release

## 额外信息

 *  版本 **1.1.6**
 *  最后更新：**5 年前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **5.8.17**
 *  语言
 * [English (US)](https://wordpress.org/plugins/antispambot/)
 * 标签
 * [comments](https://cn.wordpress.org/plugins/tags/comments/)[spam](https://cn.wordpress.org/plugins/tags/spam/)
 *  [高级视图](https://cn.wordpress.org/plugins/antispambot/advanced/)

## 评级

 5 星（最高 5 星）。

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

[您的评价](https://wordpress.org/support/plugin/antispambot/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/antispambot/reviews/)

## 贡献者

 *   [ Robert Peake ](https://profiles.wordpress.org/robertpeake/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/antispambot/)