anti spam measure in comments
|Reported by:||redduck666||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
do you think code that checks the page generation time would be an appropriate addition for the comments framework? i'm willing to write a patch if that kind of feature belongs here.
the idea is when page is generated it would include the page generation time, and when the comment is submmited it would check if the page has been generated less than settings.COMMENTS_MIN_PAGEVIEW_TIME (or something similar) seconds ago, and it would reject the comment as spam (or send you to preview page). the reasoning behind this is that it takes humans "considerable" ammount of time to make the comment, as opposed to bots which do it almost instantly.