Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Add to head or body of any page to automatically censor the content to protest censorship of the Internet

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 stopcensorship.js
Octocat-spinner-32 test.html


(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>
Something went wrong with that request. Please try again.