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.