This is a script to black out all potentially-offensive words in Wikipedia pages. It should have an extremely low rate of missing offensive words, although there is a risk of false positives.

Installation

Note that the installation instructions for this script are somewhat unusual.

First, copy this to your common.js:

importScript('User:Anomie/censorship.js');

Then copy this to your common.css:

@import url('//en.wikipedia.org/w/index.php?action=raw&title=User:Anomie/censorship.css&ctype=text/css');

Uninstallation

To uninstall, first remove the line added above from your common.css and then remove the line from your common.js. Due to the security feature where the CSS hides the page content until the censorship has been applied, if you remove the JS first then the page content will never be unhidden and you will have to disable JavaScript to be able to see any content (including the edit form).

Compatability

This script has been tested and functions using the Vector skin in the following browsers:

Caveats