Linux 软件免费装

Spambargo: Anti-Spam for Forms & Comments

开发者 idoa89
更新时间 2026年10月18日 20:33
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

comments anti-spam contact forms bot protection spam protection

下载

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.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, phone 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. A single-word line blocks that complete word, not a longer word that merely contains it. A multi-word rule blocks only when all of its words appear in the same order, although other words or punctuation may appear between them. Matching is not case-sensitive. Regular expressions are not executed. One matching line is enough to block a submission.

Which spam terms are included on installation?

New installations include the existing strict spam-rule recommendations (gambling, pharmaceuticals, crypto, SEO outreach and adult content). These can block legitimate English enquiries, so edit or clear them to fit your audience. During upgrades, previously saved blocked terms, including an intentionally empty list, are preserved.

How do country and language blocking work?

Country blocking uses WooCommerce geolocation 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. Language blocking 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.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