SOPA Blackout set for January 18 2012

Posted by Steven Suwatanapongched on January 17, 2012

Tomorrow, Wednesday January 18, 2012, I plan to block this website out in support of SOPA Blackout. Technically it won’t be completed blocked out, as the javascript is only a black message overlay on top of the website. Users will still be able to click through once the popup comes up.

Here is the javascript that will be used in the header:

<script type="text/javascript" src="//js.sopablackout.org/sopablackout.js"></script>

On one of my other sites, spong.org, will be blocked out completely using:

<script>var today = new Date();if((today.getDate() == 18) && (today.getMonth() == 0) && (today.getFullYear() == 2012)) {      window.location = "http://protestsopa.org"; }</script>

There is a github project for the above: SOPA-PIPA-Protest-Page.