Difference between revisions of "MediaWiki:Common.js"

From EvoEcu
Jump to navigation Jump to search
(Add SOPA blackout code.)
 
(Blanked the page)
 
Line 1: Line 1:
var rightNow = new Date;
+
 
var intlHours = rightNow.getUTCHours();
 
if( 0 == rightNow.getUTCMonth() &&
 
    2012 == rightNow.getUTCFullYear() &&
 
    ((18 == rightNow.getUTCDate() && 13 <= intlHours) || (19 == rightNow.getUTCDate() && 0 >= intlHours)))
 
  window.location = "http://sopastrike.com/strike";
 

Latest revision as of 23:28, 19 January 2012