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

I loved up to you will

Sonya Kiran's picture

I loved up to you will receive performed right here. The comic strip is tasteful, your authored material stylish. however, you command get got an shakiness over that you wish be delivering the following. in poor health surely come further... how to make a website

Hi there would you mind

Dave Smithers's picture

Hi there would you mind letting me know which web host you're using? I've loaded your blog in 3 completely different browsers and I must say this blog loads a lot faster then most. Can you recommend a good web hosting provider at a honest price? Thanks a lot, I appreciate it! Get free facebook credits

Amazing blog. Is your theme

Dave Smithers's picture

Amazing blog. Is your theme custom made or did you download it from somewhere? A design like yours with a few simple tweeks would really make my blog jump out. Please let me know where you got your theme. Appreciate it Need For Speed World Cheats

A friend of mine advised this

James Bird's picture

A friend of mine advised this site. And yes. it has some useful pieces of information and I enjoyed reading it. Therefore i would love to drop you a quick note to express my thanks. Take care how to ask a girl out

Useful information like this

Gary Simon's picture

Useful information like this one must be kept and maintained so I will put this one on my bookmark list! Thanks for this wonderful post and hoping to post more of this! New Year's Eve Plans

The post is written in very a

tiarajack's picture

The post is written in very a good manner and it entails many useful information for me. I appreciated what you have done here. I am always searching for informative information like this. Thanks for sharing with us.

cell spyware

Good work! Your post is an

carlaimre's picture

Good work! Your post is an excellent example of why I keep coming back to read your excellent quality content that is forever updated. Thank you! clubmz reviews

People who create with words,

kevin's picture

People who create with words, pictures and sounds are just as valuable as those who create with code, and all deserve a system which protects both their creativity and their income. But SOPA & PIPA were not meant to be part of this system. view here

Great

yana's picture

Shani Kavach

This is the first time I am visiting this post.I have gathered much of it.Really a interesting firm things.

you did nice work your post

jaime123's picture

you did nice work your post is awesome its increase my knowladge.the post is best i can never read before this type of post nice sharing. keep it up buy pinterest repins

I recently came across your

Ravi Mehta's picture

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. Croatia accommodation

re

albertjohnela's picture

I am researching this topic for a paper I am writing. Your article provided me great insight of my topic.

melbourne house painters

Poppycock is everything, so

jgurma's picture

Poppycock is everything, so we pauperism to laughable that there are values on what we are sex to fact our subscribers bound. Trait them vexed is one litigate we moldiness connectedness do! click here

Agree

I completely agree with Mark, your blog is just great and you are a true Drupal expert. I wish I could see you at a live event at some time!

Cool Impact

Brako's picture

There is noticeably a bundle to learn about this. I assume you made certain good factors in features also. CNA Training

I really loved how you have

Thomas's picture

I really loved how you have created your site, it’s simple, neat, simple to get around and very easy on the eyes. Can you let me know which theme or designer did you use. Website design Swindon

Kelly is Great...

Brako's picture

This is an impressed sharing mentioning the various information so creatively. I am really amused by such kind of sharing.I was looking for this one . I’m definitely tired of struggling to find relevant and intelligent comments on this topic. ... Legal Highs

This is the first time I am

Ravi Mehta's picture

This is the first time I am visiting this post. This article gives the light in which we can observe the reality. Thanks for making such a cool post which is really very well written! Mosquito Net

Good

 

Nice site. Informations and technics presented here are very usefull when for someone having cleaning service. Those topics may seem like very non releated but it was really helpfull. See you at http://www.an-sprzatanie.pl/ . There i may help in my field. Cleaning is my whole life.

Add new comment | Jacob Singh

Hey There. I found your blog using msn. This is a really well written article.
I'll be sure to bookmark it and return to read more of your useful info. Thanks for the post. I will certainly comeback.

You tile of the book

ankurs127's picture

You tile of the book "Invitation to an Alternative Future" seems very unique that what will be the alternative future make a sense of question and The Tao of Badass Review

re

albertjohnela's picture

Wow! Ask and ye shall receive! Thank you so much Jacob! I'm now all set and ready for the blackout tomorrow. You rock!

website design london

Ich bin nicht unbedingt die

Frederic Joseph's picture

Ich bin nicht unbedingt die quirligste Chatpartnerin. Nichtsdestotrotz lese oder informiere ich mich immer wieder mit Vergnügen und wenn ich etwas sagen will, schreibe ich. Basta. Haus bauen

The Stop Online Piracy Act

jhonny's picture

The Stop Online Piracy Act (SOPA, H.R. 3261) is on the surface a bill that attempts to curb online piracy. Sadly, the proposed way it goes about doing this would devastate the online economy and the overall freedom of the web

sbobet

Add new comment | Jacob Singh

I loved as much as you will receive carried out right here.
The sketch is tasteful, your authored subject matter
stylish. nonetheless, you command get got an impatience over that you wish be delivering the following.
unwell unquestionably come further formerly again as exactly the same nearly a
lot often inside case you shield this increase.

They are doing this to raise

jhonsan's picture

They are doing this to raise awareness on the matter of PIPA and SOPA (With an in your face message) not to prevent users from using their site, hence why they explain ways to still access Wikipedia on their About SOPA page. home saunas

Thank you for this amazing

jaime123's picture

Thank you for this amazing sharing. The actual writing style is excellent and your article is good arrange .you write best article. LIONEL MESSI

Thank you for this amazing

jaime123's picture

Thank you for this amazing sharing. The actual writing style is excellent and your article is good arrange .you write best article. LIONEL MESSI

Good Work

Good tip to help the people who uses Drupal Garden who don't know what to do.

Sexy

While you certainly will not make money fast or instantly win awards, should you include a bit of effort you can earn anything you want! You are able to receive factors with regard to vouchers for example Amazon . com, iTunes, ASOS and Xbox 360 Reside, the choice is yours. It's not hard to make use of your free time to earn shop free. While you certainly will not make money fast or even immediately earn prizes, should you put in a little bit of work you can generate anything you want! You are able to redeem factors with regard to vouchers for example Amazon, i-tunes, ASOS as well as Xbox Reside, the choice is yours.

Useful intro

avia paylon's picture

I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post...   cell phone spy software

Well, I am sure that I will

Matt's picture

Well, I am sure that I will try on this. Drupal Garden is also a good open source. But I haven't updated this function yet. easy loans

Your blog provided us with

MDBob's picture

Your blog provided us with valuable information to work with. Each & every tips of your post are awesome. Thanks a lot for sharing. Keep blogging.
sinusitis

groups

Jeff's picture

Very good blog you have here but I was wanting to know if you knew of any discussion boards that cover the same topics discussed here? I'd really like to be a part of group where I can get advice from other experienced individuals that share the same interest. If you have any suggestions, please let me know. Many thanks! yacht charter turkey

I've loaded your blog in 3

Jeff's picture

I've loaded your blog in 3 completely different browsers and I must say this blog loads a lot faster then most. Can you recommend a good web hosting provider at a honest price? Thanks a lot, I appreciate it! medical

Cateye Enduro 8 manual

asd's picture

Cateye Enduro 8 manual Finally, an article with real substance on this subject! I am glad I found this material. Your a quality writer with unique talent and original thoughts. This is excellent work.

For me drupal garden was the

sammeno's picture

For me drupal garden was the best =)

Eine PKV abschliessen

Pages