A CSS trap for comment spambots

Kudos to the person who thought about this! This article describes how you can prevent comment spam with CSS. I am not sure how well this performs, but it sure looks like a decent solution. I would like to test if it would perform better than my trick of dynamically changing the form field names with Javascript, which I use in the comment-policy plugin for WordPress, but I guess I’ll leave this for some other time, as I currently try to move as far away from WordPress comments and trackbacks as possible.

From the article:

It can be very frustrating when you have a form on your site which has a good and useful purpose, but almost becomes obsolete because of relentless spamming. I had this problem a few months ago with my old site, and was thus forced to find a solution that was light-weight, easy to implement, and most importantly was effective. I decided to turn toward my friend CSS to help me out.

Keep in mind that implementations like the ones mentioned above cannot stop trackback/pingback spam.

A CSS trap for comment spambots by George Notaras is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright © 2007 - Some Rights Reserved

George Notaras avatar

About George Notaras

George Notaras is the editor of the G-Loaded Journal, a technical blog about Free and Open-Source Software. George, among other things, is an enthusiast self-taught GNU/Linux system administrator. He has created this web site to share the IT knowledge and experience he has gained over the years with other people. George primarily uses CentOS and Fedora. He has also developed some open-source software projects in his spare time.