Adding SOPA blackout to a Drupal Gardens

If you want to blackout your site in protest of SOPA/PIPA, here's what you gotta do:

(hat tip to http://www.zachstronaut.com for the blackout page).

Important: Keep the url mysite.drupalgardens.com/admin/content handy. 

Once you follow these instructions, your site will go dark (if it is January 18th 2012).  If you want to get it back, you will need to delete the block later.

  1. Navigate to Structure -> Blocks
  2. Click on "Add Block"
  3. In the "Body" use the dropdown to change from "Safe HTML" to "Full HTML" (the buttons will go away)
  4. Make the block show by setting a region.
  5. Copy the following and paste it into the body:

 



<

div>

<script type="text/javascript">
    var a = new Date;
    if (18 == a.getDate() && 0 == a.getMonth() && 2012 == a.getFullYear()) {
        window.onload = function () {
            var cover = document.createElement('div');
            cover.style.position = 'fixed';
            cover.style.zIndex = 9999999;
            cover.style.width = window.innerWidth + 'px';
            cover.style.height = window.innerHeight + 'px';
            cover.style.top = 0;
            cover.style.backgroundColor = '#000';
            cover.innerHTML = '<iframe src="http://www.zachstronaut.com/lab/text-shadow-box/stop-sopa.html" width="100%" height="100%" frameBorder="0"></iframe>';
            document.body.appendChild(cover);
            window.onresize = function () {
                cover.style.width = window.innerWidth + 'px';
                cover.style.height = window.innerHeight + 'px';
            }
        }
    }
</script>

Tags: 

Comments

The post is really good and

John Kelly's picture

The post is really good and very informative about the SOPA blackout. I also taken some help from nursing essays to clarify this matter.

This is definitely a topic

This is definitely a topic thats close to me so Im happy that you wrote about it. Im also happy that you did the subject some justice. Not only do you know a great deal about it, you know how to present in a way that people will want to read more. Im so happy to know someone like you exists on the web

This is definitely a topic

This is definitely a topic thats close to me so Im happy that you wrote about it. Im also happy that you did the subject some justice. Not only do you know a great deal about it, you know how to present in a way that people will want to read more. Im so happy to know someone like you exists on the web

xxx

 

 

 

PLEASE READ THESE TERMS AND CONDITIONS OF USE CAREFULLY AS THEY MAY HAVE CHANGED SINCE YOUR LAST VISIT TO THIS WEB SITE. BY USING THE DRUPAL GARDENS SERVICE, YOU INDICATE YOUR ACCEPTANCE OF THESE TERMS AND CONDITIONS. IF YOU DO NOT ACCEPT THESE TERMS AND CONDITIONS, YOU SHOULD NOT USE THE SERVICE.

DR

Nikes Officielle Danmark Online Butik - 2012 Nye Nike Sko Rabats

 

Nikes mission: at bringe inspiration og nytænkning til enhver sportsmand i verden. Hvor mange atleter er der i verden? Ifølge Nike Free grundlægger Bill Bowerman, "Hvis du har en krop, du er en atlet." Nike har levet med disse ord siden sin oprettelse i 1972, og i processen er blevet et verdensomspændende fænomen af sportssko og sport beklædning. Nike sko er brød og smør af brand, da de rutinemæssigt pumpe nye stilarter og colorways, der integrerer med top-of-the-line teknologier til en altid iøjnefaldende look. 

older stipends to write code

ZDDA's picture

older stipends to write code for various open source software projects. We have worked with open source, free software, and technology-related groups to identify and fund projects over a three month period ddj t1 reviw

3Q1cnWZyyg

2yDtlN5tj's picture

comment_body[und][0][value]

emogrefemn

xgycqhbkf

pkopdlrkj's picture

comment_body[und][0][value]

ylualrjrbx

zilgnpgelu's picture

comment_body[und][0][value]

5lWjbI7ac

lntgpmfdzd's picture

comment_body[und][0][value]

info

jas's picture

This post gives truly quality information. I’m definitely going to look into it. Really very useful tips are provided here. Thank you so much. Keep up the good works.steps to unlock iphone 4

Great post

I simply could not leave your site before suggesting that I really loved the usual information an individual supply to your guests? Is gonna be again ceaselessly in order to check out new posts.

By: www.bedroomchecker.com

Wisata Pulau Bangka Belitung

Wisata Tour Pulau Belitung

Cakra Buana Bangka Tour

Pages