Comment by daeken
14 years ago
Well, that's interesting. All the content is still there, but then an overlay is placed on the page using JS once the page loads. How long until someone puts up a greasemonkey script to unblackout WP?
14 years ago
Well, that's interesting. All the content is still there, but then an overlay is placed on the page using JS once the page loads. How long until someone puts up a greasemonkey script to unblackout WP?
The mobile site is also still available, by design.
"Is it still possible to access Wikipedia in any way?
The Wikipedia community, as part of their request to the Wikimedia Foundation to carry out this protest, asked us to ensure that we make English Wikipedia accessible in some way during an emergency. The English Wikipedia will be accessible on mobile devices and smart phones. Because the protest message is powered by JavaScript, it's also possible to view Wikipedia by completely disabling JavaScript in your browser."
Well that's a silver lining from my perspective: a lot of people will learn how to disable Javascript in their browsers.
and then forget to re-enable it and be baffled as to why their browser is utterly deprecated.
4 replies →
Not people that are targeted by this blackout.
Here goes a "small" bookmarklet:
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";})()
Or just press Esc very quickly so it stops loading the page before rendering the protest message overlay.
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.
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.
1 reply →
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
Came up with almost exactly that
You beat me to it. :)
5 replies →
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...
Came up with this when I got the blackout page:
javascript:$('*:hidden').show();$('#mw-sopaOverlay').hide();
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();
or even shorter:
javascript:($('body').children().toggle())
Have fun!
It's pretty smart, actually. They don't want to ruin their SEO.
um, im sure that Google had no idea about Wikipedia's plans and let their spider autocrawl the domain without manually overwriting its settings.
I would rather find it in Google's best interest to keep Wiki pages high up in results, btw.
Further, Google spider can "apply" CSS and "see" which elements of the page cover other content with divs.
I think the idea is to draw attention of the non-technical crowd. Those who can "put up a greasemonkey script" are probably well aware of SOPA already.
Using AdBlockPlus I've just added the rule to block everything from meta.wikimedia.org which is the domain that loads the script to blackout the site.
||meta.wikimedia.org
Seems to be working so far.
Blocking http://en.wikipedia.org/w/index.php?title=Special:BannerCont...
is a better match
103 characters with native js:
d=document;f='getElementById';d[f]('mw-sopaOverlay').innerHTML='';d[f]('content').style.display='block'
In 42 characters!
l=location;l.href=l.href.replace("en","m")
In 35 characters! location.hostname="m.wikipedia.org"
Quite simple to toggle it with NoScript.
Or just hit Escape key before the page has finished loading.
I documented a ton of ways here to get around it: https://gist.github.com/1631355
Just disable JavaScript. An extension is overkill! ;)
I was sitting here trying to figure out if it started yet because all the pages kept loading. This is good though, almost anyone who has javascript disabled is probably aware of the issue and against it.
It still shows "The English Wikipedia is currently locked for the SOPA/PIPA blackout" on the main page.
You can also just, you know, disable Javascript.