News for hackers. Stuff that matters.
Re:Stop SOPA site template by micro-ram on Sunday January 15, 2012 @09:09PM (#3469055)
So I don't have to change the sites manually I check the date. Here is a snippet of php code to check the date and only include your .js on Jan 18, 2012:

<? if(date("Ymd")=="20120118") echo '<script type="text/javascript" src="hxxp//js.sopablackout.org/sopablackout.js"></script>'; ?>

Note: replace hxxp with http.

Re:Stop SOPA site template by nodata on Monday January 16, 2012 @05:37AM (#3470180)
Needs timezone support.