Disemvoweler for Wordpress (as userscript)

This Greasemonkey script implements a comment disemvoweler for Wordpress. Tested through WP 2.2.

Download the current version (0.4) as a .user.js file.

Specification

  1. Adds a styled button to the quicktags buttonbar above the comment moderation panel in Wordpress. If the buttonbar is missing, it is first created.
  2. When the button is clicked:
    1. Prepends "Disemvoweled troll: " to the commenter's name.
    2. Changes the commenter's URI to the Wikipedia entry on disemvoweling.
    3. Escapes HTML and character entities.
    4. Removes all instances of the upper-case and lower-case letters a, e, i, o, and u, including from HTML tags.

Future work

I want to handle HTML better, and add an option to rotate vowels instead of removing them. (Rotation is reversible.)

Change log

Version 0.4.0

Released on 2007-09-03, version 0.4.0 [.user.js format] is a maintenance release.

  1. Adds an @include for WordPress 2.2 (or thereabouts.)

Version 0.3

Released on 2007-1-13, version 0.3 [.user.js format] is the first public version. Performs these tasks:

  1. Adds a styled button to the quicktags buttonbar above the comment moderation panel in Wordpress. If the buttonbar is missing, it is first created.
  2. When the button is clicked:
    1. Prepends "Disemvoweled troll: " to the commenter's name.
    2. Changes the commenter's URI to the Wikipedia entry on disemvoweling.
    3. Escapes angle-brackets to avoid malformed HTML.
    4. Removes all instances of the upper-case and lower-case letters a, e, i, o, and u, including from HTML tags.