Title: Tiny Comment Spam Blocker
Author: Kasuga
Published: <strong>2025 年 11 月 12 日</strong>
Last modified: 2026 年 5 月 21 日

---

搜尋外掛

![](https://ps.w.org/tiny-comment-spam-blocker/assets/banner-772×250.png?rev=3394305)

![](https://ps.w.org/tiny-comment-spam-blocker/assets/icon-256x256.png?rev=3394305)

# Tiny Comment Spam Blocker

 由 [Kasuga](https://profiles.wordpress.org/kasuga16/) 開發

[下載](https://downloads.wordpress.org/plugin/tiny-comment-spam-blocker.1.4.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/tiny-comment-spam-blocker/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/tiny-comment-spam-blocker/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/tiny-comment-spam-blocker/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/tiny-comment-spam-blocker/#developers)

 [技術支援](https://wordpress.org/support/plugin/tiny-comment-spam-blocker/)

## 外掛說明

Tiny Comment Spam Blocker is a lightweight yet powerful plugin designed to protect
your WordPress comments from spam. It employs five different techniques to detect
and block unwanted comments:

 1. **Nonce Verification** – Ensures that the comment form submission is genuine.
 2. **Submission Time Check** – Blocks comments submitted too quickly to prevent bots.
 3. **Honeypot Field** – Hidden field that traps automated spam bots.
 4. **User Agent Validation** – Detects suspicious User-Agent strings and blocks them.
 5. **Forbidden Word Filtering** – Blocks submissions containing words or phrases from
    a configurable list within the **comment body, email address, or IP address.**
 6. **JavaScript-Based Human Interaction Detection** – Sets a verification token when
    mouse movement, scrolling, or touch interaction is detected.
 7. **(Option) Block Non-Japanese Comments** – Blocks comments that do not contain 
    Japanese characters (Hiragana, Katakana, or Han/Kanji), primarily targeting machine-
    translated or foreign spam.

These filters are applied in order: if a comment passes the first check, it proceeds
to the second, and so on, until all checks are applied or the comment is blocked.

Additional features:

 * Option to log detected spam in a local log file (up to 1.0 MB).
 * Optional email notifications when spam is detected.
 * Easy settings page in the WordPress admin panel.

### Settings

The plugin provides the following settings in the WordPress admin panel:

 * **Enable Spam Protection** – Toggle the spam protection on or off. When disabled,
   all anti-spam checks are skipped.
 * **Save Spam Detection Log** – Enable or disable logging of detected spam. Logs
   are saved in a local file up to 1.0 MB within the WordPress uploads directory.
 * **Notification Email Address** – Enter an email address to receive notifications
   when spam is detected. Leave blank to disable email notifications.
 * **Minimum Submission Time (seconds)** – Set the minimum allowed time between 
   loading the comment form and submitting a comment. Comments submitted faster 
   than this threshold are considered spam.
 * **Forbidden Words List** – Enter one forbidden word, phrase, or IP address per
   line. Submissions containing these entries in the comment body, **email address**,
   or **IP address** will be blocked. **Case is insensitive.**
    - **Example:**
       viagra online pharmacy spam@email.com 164.138.205.72
 * **Block No Japanese Comments** – If enabled, this becomes the final check: Comments
   that contain Japanese characters (Hiragana, Katakana, or Kanji) will be automatically
   accepted after passing other security checks. **Comments without Japanese characters
   will be blocked.**

### Arbitrary Section

This plugin is designed to be lightweight and fast, ensuring minimal impact on site
performance while providing robust protection against comment spam.

## 螢幕擷圖

 * [[
 * Plugin settings page.
 * [[
 * Example of the spam detection log output.

## 安裝方式

 1. Upload via WordPress Dashboard:
     – In your WordPress dashboard, go to ‘Plugins’‘
    Add New’. – Search for “tiny comment spam blocker” and click ‘Install Now’. – Click‘
    Activate’ once the installation is complete. – Go to **Settings  Tiny Spam Blocker**
    to configure options.
 2. Manual Installation via FTP:
     – Download the plugin’s zip file and extract it. –
    Connect to your server via FTP and navigate to the “wp-content/plugins/” directory.–
    Upload the extracted “quick-translate-pot-po-mo” folder to this directory. – Go
    to ‘Plugins’ in your WordPress dashboard and activate the plugin. – Go to **Settings
    Tiny Spam Blocker** to configure options.

## 常見問題集

### What is the “Submission Time Check”?

This check measures how long a user takes to fill out the comment form. Bots often
submit comments in 1-2 seconds. The default setting blocks submissions faster than**
5 seconds**, but you can adjust this time threshold in the settings.

### How do I enable email notifications?

Enter a valid email address in the **Notification Email Address** field. Leave it
blank if you do not want to send an email.

### How large can the log file grow?

The log file is capped at 1.0 MB. When it exceeds this limit, it will be overwritten
with an initial message.

### Where is the log file saved?

  If logging is enabled, spam attempts are saved to a file named tcsb-log.txt located
in a dedicated folder under the WordPress content directory (WP_CONTENT_DIR). The
log can be viewed and cleared directly from the plugin’s settings page.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Tiny Comment Spam Blocker〉的開發相關工作。

參與者

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

[將〈Tiny Comment Spam Blocker〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/tiny-comment-spam-blocker)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/tiny-comment-spam-blocker/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/tiny-comment-spam-blocker/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/tiny-comment-spam-blocker/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/tiny-comment-spam-blocker/)。

## 變更記錄

#### 1.4.0

 * Added JavaScript to detect human interaction.

#### 1.3.2

 * Security fix: Hardened log directory access via .htaccess and index.html.
 * Security fix: Randomized log filenames to prevent path guessing.

#### 1.3.1

 * Security fix: Moved spam logs to a non-public directory

#### 1.3.0

 * Added a new option to block non-Japanese comments.

#### 1.2.1

 * Fix a minor bug

#### 1.2.0

 * Added IP address to forbidden word checks.
 * The detection message has been modified.

#### 1.1.0

 * Extend forbidden word checks from comments to email addresses as well.
 * The log has been made more detailed.

#### 1.0.0

 * Initial release.
 * Five anti-spam techniques implemented.
 * Logging and optional email notifications added.

## 中繼資料

 *  版本 **1.4.0**
 *  最後更新 **1 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.3 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/tiny-comment-spam-blocker/)
 * 標籤:
 * [anti-spam](https://tw.wordpress.org/plugins/tags/anti-spam/)[comments](https://tw.wordpress.org/plugins/tags/comments/)
   [honeypot](https://tw.wordpress.org/plugins/tags/honeypot/)[security](https://tw.wordpress.org/plugins/tags/security/)
   [spam protection](https://tw.wordpress.org/plugins/tags/spam-protection/)
 *  [進階檢視](https://tw.wordpress.org/plugins/tiny-comment-spam-blocker/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/tiny-comment-spam-blocker/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/tiny-comment-spam-blocker/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/tiny-comment-spam-blocker/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](https://www.paypal.me/kasuga16)