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.

- Navigate to Structure -> Blocks
- Click on "Add Block"
- In the "Body" use the dropdown to change from "Safe HTML" to "Full HTML" (the buttons will go away)
- Make the block show by setting a region.
- 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>

Comments
This has to be one of my
This has to be one of my favorite posts! And on top of thats its also very helpful topic for newbies. Thanks a lot for informative information! adult toys
Easy?
It always sounds so easy when Jacob explains something, doesn't it? <a href="http://www.super-discount.ch">tumbler</a>
Blackout
It's not just about the tip bit (though i was following the directions and hit save before I snapped that I should have exempted the admin pages, so now I can't turn off the block and restore my site).
I was hoping for CONSISTENCY of application - plain black is fine, but I was thinking if we all showed the "censored" label like what the FBI put on the Pirate Bay, or something, but adapted for Drupal Gardens, it would be really cool. Plus if you made it super easy for people to do it, they'd be more likely to participate in the blackout,which is good for everyone.
In my case, I just flat out didn't have time to code something by the time I heard everyone was still doing the blackout (after Obama's speech I thought it might not happen), and since I'm on Gardens, and cant install any modules, I really just wanted them to install the Blackout module so we could use it if we wanted to.
Of course ow I have to figure out how to turn this block off without access to any admin pages or to drush...
Kelly Bell
---------------
Gotham City Drupal
@gothamdrupal | @Kelly
Blackout
Kelly, doing it like Jacob showed was really a snap! I really hope that bill will never pass congress!
movies online Well, that is a
movies online Well, that is a great discovery. I will try it out for sure,
I can't believe I was that
I can't believe I was that stupid.
I literally hit the button and thought of it in the same moment.
D'oh!
I like to spend my free time
I like to spend my free time by reading various internet recourses. Today I came across your blog and I found it is as one of the best free resources available! Well done! Keep on this quality!
gran canaria
Is your theme custom made or
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 mayweather vs cotto live
really beautiful
I just wanted to mention that I really thought the image and the animation and all for this was REALLY well-done, and that I am very thankful that Jacon was so cool to make this happen for all the denizens of DG - thank you so much, Jacob.
Also, thanks for tweeting me the fix (worked!) to my own stupidity :)
The protest in Manhattan today went very well, and the whole protest was a great success, IMHO. Thank you for helping us do our little part.
Warmest regards,
Kelly
SOPA is indeed dead. It's a
SOPA is indeed dead. It's a good thing too. hiburan terkini malaysia
yes
I agree! Bed Sore Solution
YOU ARE WRONG
Mayweather vs Cotto
Mayweather vs Cotto live
Mayweather vs Cotto live stream
Mayweather vs Cotto fight
Nice platform
It is a great satisfaction studying your post.The brimming with info I am trying to find we love to post a opinion of which "The content material of your respective post is definitely awesome" Good work. cell phone listening :)
I was wanting to know if you
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 a 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! // WNO
SOPA
SOPA is just horrible and I hope they never try to pass it again! leo burgues
This is a great stuff and
This is a great stuff and really worth reading. Very nicely written and well elaborated. I appreciate it very much. real exams70-640
I think I will become a great
I think I will become a great follower.Just want to say your article is striking. The clarity in your post is simply striking and i can take for granted you are an expert on this subject.
birthday
Great write-up - here is a Gist...
Hi Jacob,
This is a great write-up - useful instructions for a generic custom block. Also, the code is applicable to many CMSs, not just Drupal. I've created a Gist, with some modifications:
Kudos to Zachstronaut.
Stop SOPA + PIPA!
Nick
Wie ein Kreditvergleich im
Wie ein Kreditvergleich im Web aussehen kann.
sfda
I am very thankful that Jacon was so cool to make this happen for all the denizens of DG - thank you so much, Jacob. Office shoes
I agree. He's great! hosting
I agree. He's great! hosting
Hopefully nothing like SOPA
Hopefully nothing like SOPA ever tried to get passed again! pool resurfacing tempe
I agree. I don't think it
I agree. I don't think it ever will, though. mayweather vs cotto
The ideas seem to modern and
The ideas seem to modern and new with the new template. Thanks pickup lines
The reason why we need the
The reason why we need the obd2 auto diagnostic tools is the need for curbing "mobile emissions". In tune with the need for global preservation, the EPA has been empowered to place firm emission standards. This has compelled the car manufacturers to bring in better non-polluting cars into the market. In turn, such strict measures for controlling emission levels have also helped to increase the functional life of the vehicle as well.
Good article
I wonder how you got so good. This is really a fascinating blog, lots of stuff that I can Get into. One thing I just want to say is that your Blog is so perfect! Desenhos Para Colorir
Thanks a lot for the tips.
Thanks a lot for the tips. Even though SOPA is now dead in the water (atleast for now), ACTA has shown us that is can come back in different forms. We'll keep this code on hand for our swtor credits site incase they try to censor the Net again!
Somatesthesia pro
Somatesthesia pro propertied for me, Unoriginality apportioning that you are one of the sportsmanlike bloggers I e'er saw.Thanks for sending this consultive handiwork
Unshrinking is nicely act
Unshrinking is nicely act and it contains numerous enforcement things for me. I am settlings to aid your unnerving way of lancinating the performing. Now it transposed unsubdivided for me to mercantilism and obligate the hypothecate. Thanks for coitus the job.
Well, that is great, Jacob. I
Well, that is great, Jacob. I just try on my website about memory foam mattress, and all work with this. Adding SOPA backout is a great solution for Drupal Gardens. Love it much.
I agree. This is very good!
I agree. This is very good! hi dow
There are few posts that i
There are few posts that i actually somebody to inform on. I act this fundament an imspirational and act. I requisite to became a noesis to o, so ply wit me updated. Locomote you so oftentimes
Hi Jacob, Thanks for your
Hi Jacob, Thanks for your sharing about SOPA blackout to a Drupal Gardens. I just gave a try on free sounds web. It works well. Thanks.
great tip to help the people
great tip to help the people who uses Drupal Garden who don't know what to do. seminyak accommodation seminyak villa rental villa ubud bali seminyak villas seminyak villa teak furniture rumah pekanbaru jam tangan kursi tamu souvenir pernikahan kopi luwak badut kursus bahasa korea bisnis online jasa seo murah pasang iklan baris hot news all round toko bunga citra indah citra indah kanvas lukis sinergi bisnis jago iklan jasa iklan juara iklan jawa iklan toko bunga onny buzzwalker kursi tamu jam tangan rumah pekanbaru souvenir pernikahan kopi luwak badut kursus bahasa korea cara mengatasi insomnia cara menghilangkan stress agar awet muda zodiak hari ini buka aura cara membaca pikiran cara membuka mata batin seminyak villa teak furniture
finally decided
Just want to say what a great blog you got here!
I’ve been around for quite a lot of time, but finally decided to show my appreciation of your work!
Thumbs up, and keep it going! watch satellite tv on pc
Cheers
SOPA is just ridiculous. Good
SOPA is just ridiculous. Good thing it didn't pass or else this country would not be in good health
hosting
In searching for sites related to web hosting and specifically comparison hosting linux plan web, your site came up. satellite tv offers
Information is Awesome
Now i’m appreciating it quite definitely! Anticipating an excellent article. Good luck towards author! fantastic!
Shop lease agreement | Shareholders agreement
Admiring the time and energy
Admiring the time and energy you put into your site and detailed information you provide. It's great to come across a blog every once in a while that isn't the same old rehashed information. Great read! I've saved your site and I'm adding your RSS feeds to my Google account. wedding dj
SOPA Day
Well, SOPA day is over and I just wanted to let you know that your instructions were PERFECT. Everything worked like a charm!
Informative code
The content you have provided is pretty interesting and useful and I will surely take note of the point you have made in the blog post.
Employment Contract | Shareholder Agreements
good work!
I Agree in finally decided to show my appreciation of your work! Thanks !
Do you mind if I quote a few
Do you mind if I quote a few of your posts as long as I provide credit and sources back to your webpage? My blog site is in the exact same area of interest as yours and my users would genuinely benefit from a lot of the information you present here. Please let me know if this alright with you. Thanks a lot! Game Server
A lot of times it's very
A lot of times it's very difficult to get that "perfect balance" between superb usability and visual appeal. I must say you have done a awesome job with this. In addition, the blog loads very quick for me on Opera. Exceptional Blog! aeropostale | deal
My developer is trying to
My developer is trying to persuade me to move to .net from PHP. I have always disliked the idea because of the expenses. But he's tryiong none the less. I've been using WordPress on various websites for about a year and am concerned about switching to another platform. I have heard good things about blogengine.net. Is there a way I can import all my wordpress content into it? Any kind of help would be really appreciated! // download premium wordpress themes
guest authoring
Have you ever thought about writing an e-book or guest authoring on other sites? I have a blog based on the same topics you discuss and would love to have you share some stories/information. I know my viewers would enjoy your work. If you are even remotely interested, feel free to send me an e mail. // Scottish Hampers
Good Work!
i Agree in the exact same area of interest as yours and my users would genuinely benefit from a lot of the information you present here.Good Work ! Thank you !
I enjoyed the article a great
I enjoyed the article a great deal while reading. Thanks for sharing such a superb post.I desire to say really thank you for this terrific informations. now i realize about it. prowordpress
Font
Hi Jacob, what font do you use on this website? It looks very smooth and artistic? Like it a lot!
Writing
My spouse and I absolutely love your blog and find almost all of your post's to be just what I'm looking for. Do you offer guest writers to write content for you personally? I wouldn't mind composing a post or elaborating on some of the subjects you write with regards to here. Again, awesome weblog! // Artikelverzeichnisse
Pages