跳到内容

OneOfOne’s NoSpam

vv0.8

OneOfOne · 2014年4月4日 上架

Extremely simple, 0 configuration and 0 user/admin-interaction anti-spam plugin.

正在使用
10 以下
评分
暂无
累计下载
2,665
最近更新
2014年4月15日
需要 WordPress 3.5.1+已测试到 3.9.40

贡献者

This plugin plugin blocks spam in comments automatically, without requiring any end-user input or any javascript.

  • As of version 0.7.7 there’s an option to add an extra javascript check, it’s off by default.

In a way it’s similar to webvitaly’s Anti-Spam however this doesn’t require the user to enter anything at all.

The comment gets marked as spam if any of the following rules are true :

  • If the comment is a trackback.
  • If the time between loading the page and commenting is less than 10 seconds.
  • If the Session variable specific to this form is not set.
  • If the hidden input field have a different value than “-“.
  • If the comment includes more than 3 urls.
  • If the referer isn’t set properly.

Once the comment gets flagged as spam, and if the auto delete option isn’t set, a json string will be appended to it to show why it was marked, for example :

{     "is-trackback": 0,     "no-session-token": 0,     "hidden-field": 1,     "number-of-urls": 5,     "referer": 0,     "too-fast": 1.902538061142 } 

Translates to :

  1. They changed the hidden input field.
  2. They Had 5 URLs in the comment.
  3. It Took 1.9 seconds to submit the comment since the page was loaded.

Also note that the time calculations are per-form, so there are no false-positives if the user has multiple pages open on the site and commented on 2 of them in a short period of time.

Feel free to fork it and submit patches / fixes on github

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums