Akismet does a great job in catching comment spam but it is still inserted into the database causing it to bloat over time. So I developed a small WordPress plugin that stops 99% of the comment spam (atleast for me). It uses JavaScript to dynamically add a “hidden” input field to the comments form. A visitor making a comment will also “POST” this value which will be verified before the comment is inserted into the database. No more pesky captchas or asking users to solve dumb calculations.
Download | View Source on GitHub
The only caveat is that a browser without JavaScript won’t be able to comment. But in 2015 which browser doesn’t have JavaScript?
Leave a Reply