wiki:InputfieldTrapPlugin

Version 1 (modified by sesam, 5 years ago) (diff)

New hack InputfieldTrapPlugin, created by sesam

InputfieldTrap plugin

Description

A tiny plugin that only inserts a hidden input field named keepempty. Bots usually won't keep it empty, and thus we can block any such spam attempts immediately. Real users will want refrain from filling in the hidden input field named keepempty. Should be easy. As should this plugin be. Assuming it is bug free, that is. Please check for yourself, the code is tiny.

Currently blocks stupid bots from submitting new tickets, editing the wiki.

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.

Example

Non-logged in users who fill anything in the robot trap hidden input field get blocked. Applies to wiki pages and ticket submission.

Recent Changes

[12106] by sesam on 2012-10-03 23:40:33
Added empty prepare_wiki_page to avoit trac 0.12 complaining
[7784] by sesam on 2010-03-19 01:29:52
Version 0.11 (initial checkin)
[7783] by sesam on 2010-03-18 23:08:09
New hack InputfieldTrapPlugin, created by sesam

Author/Contributors

Author: sesam
Maintainer: sesam
Contributors:

Attachments (1)

  • botwarning.png (2.5 KB) - added by sesam 5 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