Linux 软件免费装

Spambargo: Anti-Spam for Forms & Comments

开发者 idoa89
更新时间 2026年11月27日 22:37
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

comments anti-spam contact forms bot protection spam protection

下载

2.5.0 2.4.8 2.4.9 2.4.10

详情介绍:

Spambargo is a simple anti-spam plugin for WordPress site owners, agencies and website builders. It helps block unwanted form submissions, comments and WooCommerce spam without requiring a third-party CAPTCHA service or complicated setup. It works with Elementor Pro Forms, Contact Form 7, JetFormBuilder, Ninja Forms, WooCommerce registration and checkout, WooCommerce Checkout Blocks, WordPress comments, and eligible generic lead forms. Common spam terms are pre-filled on fresh installs. Review and adjust the rules for your audience. The most useful controls are shown first, while technical options stay under Advanced settings. What can Spambargo block? Supported forms and integrations Native integrations validate submissions on the server. Generic forms without a native integration use a browser-side pre-check and require a native or custom server-side integration for protection against direct POST requests. Simple to set up How protection works Spambargo combines several lightweight checks instead of relying on a single CAPTCHA: Spambargo runs its checks locally on the WordPress site by default and does not require a CAPTCHA service operated by a third party.

安装:

  1. Upload the spambargo folder to /wp-content/plugins/.
  2. Activate the plugin.
  3. Open Spambargo. The dashboard and the main protection settings appear together on the first screen.
  4. Test every important form in a staging environment before enabling strict signed-token mode, the math challenge, phone validation or browser correlation.
  5. If the site is behind a reverse proxy or CDN, add only the actual proxy IPs/CIDRs to Trusted Proxies before relying on forwarded client IPs.

升级注意事项:

2.5.0 Elementor and Ninja Forms spam blocks now stop form actions. Review all existing spam, browser-language and phone rules before upgrading. Test a legitimate lead and clear page, CSS and JavaScript caches after installation. 2.4.9 Refreshes the plugin name and descriptions for clarity. Protection logic, defaults and stored data are unchanged. 2.4.8 Uses WordPress.org language packs and validates the webhook signing secret without altering printable characters.

常见问题:

Does the plugin intercept every form?

No. Native integrations are never pre-validated by the universal AJAX checker. Generic interception targets likely lead forms and can be controlled with CSS selectors or data attributes. This generic mode is a browser-side, best-effort pre-check and cannot stop a bot that posts directly to a custom form handler; server-enforced protection requires one of the listed native integrations or custom server-side validation.

Can visitors without JavaScript submit?

By default, yes. The honeypot and server checks continue to work, while a missing behavior token is allowed. Administrators can enable strict token mode, which is stronger but requires JavaScript.

Does Checkout Blocks support the math challenge?

Not in this release. Checkout Blocks receive server-side identity, blacklist, content, country and rate checks. Behavioral tokens and the visual math challenge are deliberately skipped because Blocks require a dedicated client-side extension-data integration.

How are blocked words and phrases matched?

Each line is a separate literal rule. Specific single words match as complete words; multi-word rules match all of their words in order. Matching is not case-sensitive and regular expressions are not executed. To protect legitimate submissions, very short and selected broad standalone terms are ignored for blocking, without deleting them from existing saved settings. Symbols such as ? are not wildcard characters.

Which spam terms are included on installation?

New installations include a shorter, conservative starter list focused on identifiable spam terms. Site owners should still review it for their own industry. Previously saved rules, including intentionally empty lists, are never replaced during upgrades.

How do country and language blocking work?

Country blocking uses WooCommerce local geolocation (with remote fallback disabled) when available or a country code supplied by a trusted proxy or the wpas_detect_country_code filter. If no reliable country is found, country blocking fails open; Spambargo does not contact an external geolocation service. Browser-language blocking is separately switchable and checks the primary Accept-Language browser language, not the natural language of the message. Users and bots can alter this header; use it as an additional signal rather than a sole anti-spam measure.

Are logs deleted automatically?

Yes. A daily WordPress cron event removes entries older than the configured retention period and clears expired rate-limit counters.

What happens on uninstall?

Data is preserved by default. Enable “Delete all data when plugin is uninstalled” before deleting the plugin to remove its tables and settings.

更新日志:

2.5.0 2.4.10 2.4.9 2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.1 2.4.0