Add to head or body of any page to automatically censor the content to protest censorship of the Internet
JavaScript
Pull request Compare This branch is 7 commits behind dougmartin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
stopcensorship.js
test.html

README.md

stopcensorship.js

(C) 2011 by Doug Martin (@dougmartin)

Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php

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 http://americancensorship.org/. Viewers can remove censoring for the current session by clicking on the "Remove this" link.

Example

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

http://dougmart.in/stopcensorship/test.html

Usage

First download script from here: https://github.com/dougmartin/Stop-Censorship/zipball/master

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 cdnjs.com:

<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/sopa/1.0/stopcensorship.js"></script>