Andrew's Stuff

Comment Spam Protection

Posted at Sat, 9 Dec 2006, 21:56:31

I have recently been receiving a lot of spam comments on this site; in the region of 20-40 per day. I don't know what they were advertising and I don't much care - all I know is that I don't want them.

As such I have implemented a handful of anti-spam measures, some partially stolen from Matthew, some ideas were my own. I even surprised myself by making it possible to post comments without having JavaScript enabled in your browser while still hopefully making the behind-the-scenes procedure complicated enough to baffle spam bots. You can't reply to a specific comment without JS enabled, but you can create a new comment thread easily enough.

Submitting comments with JavaScript enabled is also nice and fast and funky etc.

I'll see what happens over the next couple of days with regards to the spam bots and if I'm still getting spam comments appearing I'll have to add more protection. Fingers crossed it won't come to that, though, as it will no doubt mean I have to make submitting comments without JavaScript even harder and/or time-consuming than it currently is.

blog comments powered by Disqus

Archived Comments

Hack by Matthew1471 at Oct 24, 2006 12:48:57 PM

Java Java Javascript Hack!

Re: Hack by Us at Oct 27, 2006 7:43:41 PM