[WordPress] 外掛分享: Kama SpamBlock

首頁外掛目錄 › Kama SpamBlock
5,000+
安裝啟用
★★★★★
5/5 分(17 則評價)
8 天前
最後更新
問題解決
WordPress 5.7+ PHP 7.4+ v2.0.0 上架:2014-11-04

內容簡介

Kama SpamBlock 是一款專門用來阻擋簡單自動化留言垃圾郵件的外掛。它對正常訪客隱形,且不需要使用 CAPTCHA,提供輕量級的保護措施,確保留言系統的安全性。

【主要功能】
• 阻擋自動化留言垃圾郵件
• 不使用 CAPTCHA,提升用戶體驗
• 檢查留言表單的有效性
• 支援與其他反垃圾郵件外掛搭配使用
• 針對 pingbacks 和 trackbacks 進行檢查

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Kama SpamBlock」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Kama Spamblock blocks simple automated comment spam. It is invisible to normal visitors and does not use captchas.
The plugin protects the standard WordPress comment endpoint, wp-comments-post.php. It adds a small check to the comment form. Direct requests that skip the form are blocked.
This is a basic check, not proof that a person wrote the comment. Bots that load the page and run JavaScript can pass it. Kama Spamblock does not replace a full anti-spam service. It also checks pings and trackbacks for a link back to your site.
Even if you are using an external comment system like Disqus, Kama Spamblock can add lightweight protection. Automated requests can be posted directly to the ‘wp-comments-post.php’ file, where the plugin can block basic bots.
Simple and effective protection
Kama Spamblock combines several small checks that are inexpensive for the site and invisible during normal commenting:

The protective field name and its unique code rotate together every four hours. Ten recent pairs remain valid for pages served from full-page cache.
Each marker is tied to the specific WordPress post, so a marker copied from another comment form is rejected.
The form must remain open for at least three seconds before it can be accepted.
Protective fields are added only after interaction with the comment submit button.
If a valid comment is blocked, a JavaScript-only retry form preserves the entered data.
The retry challenge changes its HTML structure to make basic scraping less reliable.
Pingbacks and trackbacks must return a successful HTTP response, non-binary content, and a real backlink.

These checks deliberately remain lightweight. A capable bot that loads the page, runs JavaScript, and reproduces normal browser behaviour can still pass them.
Using Kama Spamblock with other anti-spam plugins
Kama Spamblock can work with a full anti-spam plugin or service. It blocks simple direct spam requests first. The other tool can then check the comments that remain. For example, it can analyse comment text, reputation, or behaviour. The plugins complement each other.
For this combination to work as intended:

The other plugin should use the standard WordPress comment flow, or check comments after Kama Spamblock allows them.
The site must show the standard comment form and allow the plugin’s JavaScript to run. Set the correct ID for the form’s submit button in the plugin settings.
Test the setup if another plugin replaces the comment form, uses AJAX, or sends comments to its own endpoint. Kama Spamblock may need extra integration, or it may not check those comments.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon