thedod / cispablackout

A Javascript utility to blackout websites on April 22, 2013 (forked from sopa code)

Home Page:http://thedod.github.io/cispablackout

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cispablackout.js

This code was written for an event in the past, but may be useful to fork in the future for similar occasions.

The file cispablackout.js is now empty (to make it more efficients at sites where the webmasters still include that file). the code is still available at cispablackout-always.js — a version that works regardless of date (for demo purposes).


Original "pre-blackout" README

This is a Javascript utility to blackout websites on April 22, 2013. this utility will overlay a popup linking to sitesnotspies.org

If you have a non-SSL site, simply add this before your </body>:

<script type="text/javascript" src="http://thedod.github.io/cispablackout/cispablackout.js"></script>

At the moment, the only solution for SSL sites is to download the code and serve it locally. You'll also need to fix the url at cispablackout.js (search for FIX THIS).

Good luck.

License

Opriginal sopa code: Copyright 2012 Ian Li, Licensed under the MIT license.

The Dod mashed it up with "Aaron's law" code. All rights perverse.

Note: This was done fast. If you find an error, either send a pull request, or tell me (@TheRealDod or via Github).

About

A Javascript utility to blackout websites on April 22, 2013 (forked from sopa code)

http://thedod.github.io/cispablackout


Languages

Language:JavaScript 100.0%