«
»

A CSS trap for comment spambots

July 10th, 2007 by George Notaras

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.

An example can be found here.

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

The A CSS trap for comment spambots by George Notaras, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Terms and conditions beyond the scope of this license may be available at www.g-loaded.eu.

Related Articles

Tags: ,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight=""> <pre>