wiki:InputfieldTrapPlugin

Inputfield spam-trap

Description

This is a plugin that inserts a hidden input field named keepempty. This will achieve the following:

  • Bots usually won't keep the keepempty field empty, and thus we can block any such spam attempts immediately.
  • Real users usually will refrain from filling in the hidden input field named keepempty.

This therefore blocks low-intelligence bots from submitting new tickets or editing the wiki.

In more detail, you can see the plugin is working if your wiki and ticket forms contain the following:

<div><input type="hidden" name="keepempty" value="" /></div>

As a result you probably will not get comment spam right after installing the input field trap. This spam prevention is meant to stop collateral spamming from bots that spam anything that has a postable <form>.

The warning for those bots (or plugin testers) among us who would run themselves into input field trap trouble

Anonymous users who fill anything in the robot trap hidden input field get blocked. This feature applies to both wiki pages and ticket submission.

Bugs/Feature Requests

Existing bugs and feature requests for InputfieldTrapPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out InputfieldTrapPlugin from here using Subversion, or browse the source with Trac.

Installation

General instructions on installing Trac plugins can be found on the TracPlugins page.

Recent Changes

16397 by rjollos on 2017-03-25 09:37:00
Remove obsolete "0.9" code
12106 by sesam on 2012-10-03 21:40:33
Added empty prepare_wiki_page to avoit trac 0.12 complaining
7784 by sesam on 2010-03-19 00:29:52
Version 0.11 (initial checkin)
(more)

Author/Contributors

Author: sesam
Maintainer: Simon B.
Contributors:

Last modified 14 months ago Last modified on Feb 22, 2023, 6:48:58 AM

Attachments (1)

  • botwarning.png (2.5 KB) - added by Simon B. 14 years ago. The warning for those bots (or plugin testers) among us who would run themselves into input field trap trouble

Download all attachments as: .zip