JavaScript: Don't display comment page to bots

Events happening in the community are now at Drupal community events on www.drupal.org.
jan.n's picture

Hi,

I have a private site which is undergoing a massive attack (without success, already mentioned here: http://drupal.org/node/811734).
An answer was to set up a small javacript that sets a variable and if a robot visits the javascript won't be triggered.
I could then test for the variable & if not set then don't display the comment form.

How would I do that?
Any help is appreciated.

Combating Spam and Bots

Group organizers

Group categories

Modules

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: