Difference between revisions of "MediaWiki:Common.js"

From EvoEcu
Jump to navigation Jump to search
(Add SOPA blackout code.)
(No difference)

Revision as of 06:22, 18 January 2012

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";