Or just press Esc very quickly so it stops loading the page before rendering the protest message overlay.
Re:Wikipedia blackout page
by Stevenup7002 on Wednesday January 18, 2012 @12:22AM
(#3478052)
I somehow feel bad about being able to access it now :).
Tell people that this is what it will be like to access information online if anything like SOPA passes.
I wonder if a lot of people are going to be searching for "how to access wikipedia" now? Pity it will be too late by tomorrow, or you could inform them yet again. Oh well.
Re:Wikipedia blackout page
by steve-howard on Wednesday January 18, 2012 @12:44AM
(#3478175)
I think Wikipedia still gets to make its point if you have to pepper in some JavaScript or CSS to get back to it. Much more work than your standard interstitial.
This is the best point to make: the SOPA will only stop people who don't know how to get around it, just like the Wiki blackout. That is precisely to point to be made here.
I voted for the blackout, so I feel obliged to let myself be inconvenienced by it. 3 times already in the first 40 minutes.
Wikipedia loads jQuery, so doing this works: https://gist.github.com/1631148
Re:Wikipedia blackout page
by kennywinker on Wednesday January 18, 2012 @12:36AM
(#3478145)
Came up with almost exactly that
javascript:$('#mw-page-base, #mw-head-base, #content, #mw-head, #mw-panel, #footer').css('display','block'); $('#mw-sopaOverlay').css('display','none');
You beat me to it. :)Since you're using jQuery, you might as well just use show() and hide() or remove().
Re:Wikipedia blackout page
by WickyNilliams on Wednesday January 18, 2012 @05:29AM
(#3478927)
or even better, use toggle():
jQuery("#mw-sopaOverlay, .noprint, #footer, #content").toggle();Also chaining: https://gist.github.com/1631368
I think that looks and scans worse. I didn't count characters, but it also seems like more characters. I bet it performs worse too (not that performance matters in this case).
Re:Wikipedia blackout page
by artursapek on Wednesday January 18, 2012 @02:45AM
(#3478535)
And execute the first command just on $('div')
Truly concise and elegant. I'm not sure a code-golf could make that much shorter!
I think the easiest way is to add ?banner=none at the end of the page.
https://meta.wikimedia.org/wiki/English_Wikipedia_SOPA_black...
Re:Wikipedia blackout page
by stephen_mcd on Wednesday January 18, 2012 @12:54AM
(#3478208)
Came up with this when I got the blackout page:
javascript:$('*:hidden').show();$('#mw-sopaOverlay').hide();
Re:Wikipedia blackout page
by mixmasteralan on Wednesday January 18, 2012 @12:44AM
(#3478173)
this is too long, try this
var d=document;d.body.removeChild(d.getElementById('mw-sopaOverlay'));d.getElementById('content').setAttribute('style','display:block')
fits in a tweet
$('body > div').toggle();
Re:Wikipedia blackout page
by guillermovs on Wednesday January 18, 2012 @06:20AM
(#3479086)
or even shorter:
javascript:($('body').children().toggle())
Have fun!
javascript:(function(){document.getElementById("mw-page-base").style.display="block"; document.getElementById("mw-head-base").style.display="block"; document.getElementById("content").style.display="block"; document.getElementById("mw-head").style.display="block"; document.getElementById("mw-panel").style.display="block"; document.getElementById("footer").style.display="block"; document.getElementById("mw-sopaOverlay").style.display="none";})()