Skip to content

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

Notifications You must be signed in to change notification settings

dougmartin/Stop-Censorship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stopcensorship.js

(C) 2011 by Doug Martin (@dougmartin)

Licensed under the MIT license: https://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 https://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:

https://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="https://cdnjs.cloudflare.com/ajax/libs/sopa/1.0/stopcensorship.js"></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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published