Skip to content
Add to head or body of any page to automatically censor the content to protest censorship of the Internet
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


(C) 2011 by Doug Martin (@dougmartin)

Licensed under the MIT license:

What is this?

Use this script on your site to protest censorship of the Internet.

After the page is loaded the script randomly censors text on the page by replacing the text with black bars. It also places a black bar at the top of the page with a link to Viewers can remove censoring for the current session by clicking on the "Remove this" link.


Here is an example of Hacker News censored using the script:


First download script from here:

and then include the following script tag anywhere on your page:

<script type="text/javascript" src="stopcensorship.js"></script>

You can alternativly include a version hosted on

<script type="text/javascript" src=""></script>

Wordpress Plugin (new)

Christopher Davis created a Wordpress plugin to automatically add the script to your blog. To use it just unzip the files into a new "stopcensorship" folder in your plugins folder and then activate it in your Wordpress admin.

You can’t perform that action at this time.