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
- A honeypot. A field a person cannot see and a script fills in.
- 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.
- A rate limit. Repeated submissions from one address in a short time.
- 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
- Contact Form 7
- Snow Monkey Forms
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.
- Install and activate the plugin.
- Go to Settings > Robse Form Guard.
- 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.
- The plugin starts in watch only. Leave it so for the first week and read
the History tab (or the emails it sends you).
- 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'