Hi @rockstaremperor
Thanks for trying Forget Spam Comment plugin. Glad to hear about effectiveness of this plugin.
can I be sure that it is not stopping genuine comments as well?
Please be assured, we will NEVER ever block a genuine comment. The plugin has been carefully tested before launch. I can see it is working perfectly at your site.
The goal of this plugin is stop ‘automated bot comments’ that we normally experience in default commenting system of WordPress.
This plugin is able to differentiate between bot and human based on common behaviour that is scroll event and some technical logic created inside plugin. Let me explain.
Everyone knows WordPress accept POST request for comment submission at https://www.example.com/wp-comments-post.php
which is action URL for comment form.
To prevent bot comments,
1. First off, this plugin removes this action path /wp-comments-post.php
from the comment form, we also block it with error 400 if query string condition doesn’t match. Don’t worry, see the next step.
2. It’s common that while reading an article, a visitor will scroll the web page at least once either to read more or go to comment section in bottom. Right? Exactly, we take advantage of this scroll behaviour.
3. Now, The plugin uses a tiny JavaScript (supported in all major browsers, roughly 97%) which fixes the broken action URL by adding /wp-comments-post.php?<unique-md5-hash>
. It is only whitelisted action URL for comment submission as per plugin after activation.
4. Behind the scene, when a POST request is made at /wp-comments-post.php
the plugin check does it have unique hash as query string parameter or not? If yes, means a real visitor has posted comment after scroll. If no that is bot and return 400.
I would suggest watching this video or reading well-commented code at GitHub to see live in action. It’s interesting and you will be able to understand whole scenario. ??
This plugin right now has 300+ active users. I am also a user. It’s a huge responsibility to deliver a better user-experience. Currently, focused on supporting only default commenting system as clearly described in FAQs section to prevent any sort of complaints.
If you’ve any question please feel free to ask.
Thanks & Regards,
Gulshan
-
This reply was modified 3 years, 11 months ago by
Gulshan Kumar. Reason: typo correction