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).
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.
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).