This plugin plugin blocks spam in comments automatically, without requiring any end-user input or any javascript.
In a way it’s similar to webvitaly’s Anti-Spam however this doesn’t require the user to enter anything at all.
The comment gets marked as spam if any of the following rules are true :
Once the comment gets flagged as spam, and if the auto delete option isn’t set, a json string will be appended to it to show why it was marked, for example :
{ "is-trackback": 0, "no-session-token": 0, "hidden-field": 1, "number-of-urls": 5, "referer": 0, "too-fast": 1.902538061142 }
Translates to :
Also note that the time calculations are per-form, so there are no false-positives if the user has multiple pages open on the site and commented on 2 of them in a short period of time.
Feel free to fork it and submit patches / fixes on github