Linux 软件免费装
Banner图

Robse Form Guard

开发者 robsejp
更新时间 2026年11月26日 07:18
PHP版本: 7.4 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

spam contact form contact form 7 antispam japanese

下载

2.1.1 2.2.0 2.3.0

详情介绍:

A CAPTCHA proves the sender is a human being. It does not stop a human being whose job is to send sales pitches through other people's contact forms. If you run a small business in Japan, that is most of what arrives in your inbox. Robse Form Guard reads each submission and scores its wording. Japanese business-to-business sales boilerplate — 貴社, ご担当者様, 初期費用, 導入実績 and the like — is language a private customer asking about your work simply does not use. When enough of it piles up in one message, the submission is stopped. Blocked submissions are kept, and can be forwarded to you. Each blocked submission is saved in a history on your own site (Settings > Robse Form Guard > History) for 30 days by default, with the reason, the score and the words that matched. With forwarding turned on (the default), it is also emailed in full to the site administrator or an address you choose. The history shows whether each email went out, and can send any entry again, so a copy is not lost when your site cannot send mail. The visitor is shown a phone number or address you choose, so a real customer caught by mistake can still reach you. What it checks
  1. A honeypot. A field a person cannot see and a script fills in.
  2. Too fast. A form sent within a few seconds of being shown (3 by default) was not typed by a person. Cached pages are never caught by this.
  3. A rate limit. Repeated submissions from one address in a short time.
  4. The wording. Each keyword carries points; the submission is stopped when the total reaches the score you set. The starting list and every weight are editable, and you can add your own words. Forms of address and greetings (貴社, ご担当者様, と申します, 弊社 and so on) are written by companies asking for a quote as well as by salespeople, so a message that matches only those is never stopped: something being sold, or a link, has to be there too.
The wording is compared after folding the ways a word can be written: full-width and half-width letters, upper and lower case, and spaces or invisible characters slipped into a word (SEO, seo, 御 社) all count. Links are found in http(s)://, www. and example.com/page forms, but a visitor's own email address is never counted as a link. Try it before you trust it A new installation starts in watch only: it records, and emails you, what it would have blocked while letting everything through. Run that for a week, look at the History tab, then turn blocking on. Sites that used an earlier version keep the mode they had. Which form plugins It sits alongside reCAPTCHA, Akismet or Turnstile rather than replacing them: those stop machines, this stops people who are paid to write to you. For Japanese sites The keyword list is Japanese and the plugin is aimed at Japanese-language sites. On a site in another language, replace the list with your own wording under Settings. Compatibility testing Version 2.3.0 was tested with WordPress 7.2 RC3 and PHP 8.6.0. The screening rules accepted an ordinary Japanese inquiry and flagged a sample Japanese sales pitch.

安装:

  1. Install and activate the plugin.
  2. Go to Settings > Robse Form Guard.
  3. Fill in how a real customer can still reach you — a phone number is the usual choice. Do not skip this: it is the only way out for someone the plugin wrongly stops.
  4. The plugin starts in watch only. Leave it so for the first week and read the History tab (or the emails it sends you).
  5. Switch to block once the verdicts look right.
Rolling it out to many sites These constants in wp-config.php win over the settings screen, so a deployment script can configure a site without touching its database: define( 'ROBSE_FORM_GUARD_TEL', '03-0000-0000' ); define( 'ROBSE_FORM_GUARD_QUARANTINE', 'you@example.com' ); define( 'ROBSE_FORM_GUARD_THRESHOLD', 4 ); define( 'ROBSE_FORM_GUARD_MODE', 'block' ); // or 'monitor'

升级注意事项:

2.3.0 Adds a history of blocked submissions kept on your site for 30 days, a too-fast check, and matching that sees through full-width letters and inserted spaces. Your mode and keyword list are kept. 2.2.0 Messages that match only greetings and forms of address are no longer blocked. Your saved keyword list and settings are kept as they are.

常见问题:

It blocked a real customer.

Open the History tab, or the email it sent you — both list the words that matched and the score, and the history keeps what they wrote so you can reply. Either lower the points on the word that misfired, or raise the score needed to match. Both are on the settings screen.

Will it stop bots?

The honeypot will stop simple ones. For machine submissions in general, keep reCAPTCHA, Turnstile or Akismet switched on as well. This plugin is aimed at the sales messages a human being typed.

Does it send my form data anywhere?

No. Blocked submissions are kept in your own site's database. The only message it sends is the copy of a blocked submission, by email and only while forwarding is turned on, to the address you set on the settings screen — your own site's administrator address unless you change it. Nothing is sent to the plugin author or to any other server.

The blocked copies are filling my inbox.

Read them for the first few weeks. After that you can filter the subject line into a folder, or turn forwarding off and use the History tab instead.

Can I use it on a site that is not in Japanese?

Yes, but the built-in list will not match anything. Replace it with the sales boilerplate used in your language.

更新日志:

2.3.0 2.2.0 2.1.1 2.1.0 2.0.0 1.0.2