[WordPress] 外掛分享: Invisible Anti Spam for Contact Form 7 (Simple No-Bot)

首頁外掛目錄 › Invisible Anti Spam for Contact Form 7 (Simple No-Bot)
WordPress 外掛 Invisible Anti Spam for Contact Form 7 (Simple No-Bot) 的封面圖片
200+
安裝啟用
★★☆☆☆
2.3/5 分(3 則評價)
2277 天前
最後更新
問題解決
WordPress 5.2+ PHP 5.6+ v2.2.5 上架:2017-05-03

內容簡介

Simple No-Bot 使用 JavaScript 檢測是否有垃圾郵件機器人提交聯絡表單 7。

當客戶報告數百個虛假聯絡表單通過採蜜罐功能時,我們撰寫了此功能,但不想添加影響轉換的 captcha。

這個輕量級腳本對於消除聯絡表單 7(和其他表單)提交裡的垃圾訊息非常有效。它不假裝是完整的反垃圾訊息解決方案。

重要提示

SNB 除非使用者與表單互動,否則會拒絕提交。在早期版本的 SNB 中,僅在此條件達成之前才啟用提交按鈕。現在,您可以在 wp-config.php 中設置此選項(請參閱下面的說明)。

在大多數情況下,只要使用者在第一個欄位開始輸入,就會啟用此選項。這不會破壞您的表單。

請在在發布評論前通過我們的支援表格反應任何建議和錯誤報告。謝謝。

新增!改進了!

您現在可以將 Simple No Bot 钩入到任何表單中。以下篩選器將在檢測到垃圾程式時返回 TRUE。

$is_spam = FALSE; // 您可以使用您的外掛正在使用的任何標記。
$is_spam = apply_filters( 'snb_test_spam', $is_spam );

我們添加了其他分析功能以檢測可以模仿瀏覽器並運行腳本的煩人垃圾程式。

SNB 現在將被標記為垃圾郵件的IP地址添加到列表並自動失敗。當它達到 100(或 SNB_MAX_SPAM_IPS,請參閱下面)時,最舊的 IP 將被修剪。您可以在管理員中傳遞 ?snb_flush=true 以刷新所有垃圾郵件 IP。

您可以通過添加以下標記到 wp-config.php 中來禁用提交按鈕,直到達到事件閾值:

define( 'SNB_DISABLE_SUBMIT', TRUE );

其他可配置的選項:

define( 'SNB_SPAM_THRESHOLD', 2 ); // 被視為垃圾訊息之前的最大得分
define( 'SNB_MIN_EVENTS', 2 ); // 要提取令牌所需的最小事件數
define( 'SNB_BLOCK_SPAM_IPS', TRUE ); // 在嚴重失敗時使用 IP 阻塞
define( 'SNB_SPAM_IP_LIFESPAN', 60 * 60 * 24 * 30 ); // 垃圾郵件 IP 過期之前的時間 - 默認 30 天
define( 'SNB_MAX_SPAM_IPS', 100 ); // 在旋轉之前存儲的 IP 的最大數量
define( 'SNB_SESSION_LIFESPAN', 60 * 30 ); // 有效的令牌以發送消息的時間 - 默認30分鐘

請在在 http://www.lilaeamedia.com/contact/ 的支援表格上反映任何建議和失敗反饋。

(c)2019 Lilaea Media

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Invisible Anti Spam for Contact Form 7 (Simple No-Bot)」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Simple No-Bot uses javascript to detect if Contact Form 7 is being submitted by a spam bot.
We wrote this when clients were reporting hundreds of bogus contact forms were getting past Honeypot, but did not want to add a captcha that would impact conversions.
This lightweight script has been extremely effective for eliminating spam messages from Contact Form 7 (and other forms) submissions. It does not pretend to be a complete anti spam solution.
IMPORTANT
SNB REJECTS SUBMISSIONS UNLESS THE USER INTERACTS WITH THE FORM. In earlier versions of SNB, the submit button was disabled until this threshold was met. You can now set this option in wp-config.php (see below).
In most cases it will be enabled after the user starts typing in the first field. It has not broken your form.
Please report any feedback and false negatives/positives on our support form at http://www.lilaeamedia.com/contact/ before posting a crappy review. Thanks.
New! Improved!
You can now hook Simple No Bot into any form. The filter below will return TRUE if bots are detected.
$is_spam = FALSE; // you can use whatever flag is being used by your plugin.
$is_spam = apply_filters( 'snb_test_spam', $is_spam );

We have added additional analysis to detect pesky bots that can mimic browsers and run scripts.
SNB now keeps a list of IPs as they are flagged as spam and automatically fails them. The oldest IPs are pruned when it reaches 100 (or SNB_MAX_SPAM_IPS, see below). You can pass ?snb_flush=true as Admin to flush all spam IPs.
You can disable the submit button until the event threshold is reached by adding the following flag to wp-config.php:
define( 'SNB_DISABLE_SUBMIT', TRUE );

Other configurable options:
define( 'SNB_SPAM_THRESHOLD', 2 ); // maximum score before being considered spam
define( 'SNB_MIN_EVENTS', 2 ); // minimum number of events required to fetch token
define( 'SNB_BLOCK_SPAM_IPS', TRUE ); // use IP blocking on hard fails
define( 'SNB_SPAM_IP_LIFESPAN', 60 * 60 * 24 * 30 ); // time before spam ips expire - default 30 days
define( 'SNB_MAX_SPAM_IPS', 100 ); // max number of IPs to store before rotating
define( 'SNB_SESSION_LIFESPAN', 60 * 30 ); // time token is valid to send message - default 30 minutes

Support

Please report any feedback and false negatives/positives on our support form at http://www.lilaeamedia.com/contact/
(c)2019 Lilaea Media

文章
Filter
Apply Filters
Mastodon