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

Great

yacht charter turkey

I think the website should come up with more features. I believe the number of the visitors will increase. They should create kind of features that give the secure feeling for the users when they visit this site

Awesome

keylogger

Hey about  i do believe your weblog is rather F - Enjoyable i found it in google and i set it on my favorite list  wish to see further great posts from u shortly.

As much as three quarters of

As much as three quarters of hospital staff are usually burdened with some sort of billing-related work in a traditional billing system. Opting for electronic medical billing solutions (ones that come with free EMR plans) that fit easily into the healthcare business' workflow are key to freeing up staff resources. Medical Billing Services

Nice site

The subject of this site keeps me thinking a lot.The main theme of the site is very outstanding and it is very much useful for the new readers like me. I was looking for this kind of sites for a long time. I am waiting eagerly for its further publications. It really keeps me amazing.    cell phone spy software   :)

Info Toko Bunga & Indonesia tourist sites

Thank you for the information you write in this article, I like your style of writing, I wish there were more people like you who are willing to share knowledge through the Website which can be read by all people from all over the world .. Greetings .. success for you ..I want to share some info about a flower shop in Indonesia and tourist attraction in Indonesia, this may be useful to the reader .. please visit my website below.
<a href="http://www.tokobunganusantara.com">Toko Bunga</a>
<a href="http://www.wisata.tokobunganusantara.com">Objek Wisata</a>
<a href="http://www.indonesia-asia-holiday.com">Holiday to Indonesia</a>
<a href="http://www.medanmobilrental.com">Rental Mobil di Medan</a>

 

guild wars 2 gold

Right now my major concern about the whole thing is that I will get screwed after the fact. I live in Japan, and being locked to the NA datacenter doesn't hurt my feelings any. What I'm worried about Guild Wars 2 Gold is them later farming Japanese distribution out to a local company (as was done in gw1) and my NA version of the game suddenly being locked and unusable. Region locking so they can sell seperate distribution is sadly most likely in NCSoft's control, not Anets, which means we're likely to be ignored in favor of whatever method they predict gives them more cash.

CCTV Camera China,3G IP Camera,Standalone DVRs,IP Camera,Shenzhe

Buy CCTV Accessories from HuaBen|Buy CCTV cameras and equipment including full security systems and spy cameras for home and small business.
http://www.huabentech.com/IP-CAMERA-SYSTEMS-p-378.html

3G IP Camera,3G Network Camera,3G Security Camera Manufacturers - HuaBenTech.com
http://www.huabentech.com/3G-IP-Camera-p-414.html  

PoE Camera,ip poe camera,poe camera system,poe ip camera,power over ethernet camera
http://www.huabentech.com/IP-PoE-Cameras-p-468.html
 
Megapixel IP Camera,Megapixel IP camera,Megapixel ip camera outdoor,Megapixel ip camera china
http://www.huabentech.com/Megapixel-IP-Camera-p-379.html         

IP Dome Camera,Dome IP Camera,Megapixel IP Dome Camera - Huabentech.com
http://www.huabentech.com/IP-Dome-Camera-p-380.html  

IP Box Camera - Box IP Camera - Huabentech.com
http://www.huabentech.com/Box-IP-Camera-p-381.html   

UFC 145 LIVE

As much as three quarters of hospital staff are usually burdened with some sort of billing-related work in a traditional billing system. Opting for electronic medical billing solutions (ones that come with free EMR plans) that fit easily into the healthcare business' workflow are key to freeing up staff resource

Glad to learn you did something to fight that stupid (pardon me!) SOPA initiative. I hope it has been buried by now

View my blog

UFC 145 LIVE Online    UFC 145 LIVE Online MAYWEATHER VS COTTO    MAYWEATHER VS COTTO LIVE

Glad to learn you did something to fight that stupid (pardon me!) SOPA initiative. I hope it has been buried by now

View my blog

UFC 145    UFC 145 MAYWEATHER VS COTTO    MAYWEATHER VS COTTO LIVE

Glad to learn you did something to fight that stupid (pardon me!) SOPA initiative. I hope it has been buried by now

View my blog

UFC 145 LIVE    UFC 145 MAYWEATHER VS COTTO LIVE    MAYWEATHER VS COTTO

Glad to learn you did something to fight that stupid (pardon me!) SOPA initiative. I hope it has been buried by now

View my blog

UFC 145 LIVE    UFC 145 LIVE MAYWEATHER VS COTTO    MAYWEATHER VS COTTO LIVE

Glad to learn you did something to fight that stupid (pardon me!) SOPA initiative. I hope it has been buried by now

View my blog

UFC 145 LIVE    UFC 145 LIVE MAYWEATHER VS COTTO    MAYWEATHER VS COTTO LIVE

Pages