Permalink
Browse files

SOPA Blackout day prep

  • Loading branch information...
octatone committed Jan 15, 2012
1 parent 6e83708 commit 3833c37158d5260076211e5864ee3d84d3e6a2af
Showing with 11 additions and 0 deletions.
  1. +11 −0 js/tv.js
View
@@ -66,6 +66,17 @@ var globals = {
/* Document Ready */
$().ready(function(){
+ /* SOPA Blackout */
+ var sd = '2012018';
+ var td = new Date();
+ td = td.getFullYear().toString() + td.getMonth().toString() + td.getDate().toString();
+ if(sd === td){
+ var html = '<style type="text/css">#fuck-sopa-wrapper{background-color:#000;position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;}#fuck-sopa-content{font-family:helvetica,verdana;background:gray;width:300px;margin:100px auto 0 auto;padding:15px;text-align:center;border:2px solid darkred;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}#fuck-sopa-content h1{margin-top:0;font-size:x-large;color:darkred;}#fuck-sopa-content a{color:#000;}</style><div id="fuck-sopa-wrapper"> <div id="fuck-sopa-content"> <h1>WEBSITE BLOCKED</h1> <p>If internet blacklist legislation becomes law, this may be all that remains of this website in the future.</p> <p>Learn more about the adverse affects SOPA and PIPA will have for you and the internet at <a href="http://americancensorship.org/">americancensorship.org</a> </div></div>';

This comment has been minimized.

Show comment Hide comment
@spladug

spladug Jan 15, 2012

Contributor

affects -> effects

@spladug

spladug Jan 15, 2012

Contributor

affects -> effects

+ document.write(html);
+ return false;
+ }
+ /* END SOPA Blackout */
+
loadSettings();
loadTheme(globals.theme);
displayChannels();

0 comments on commit 3833c37

Please sign in to comment.