Skip to content

Instantly share code, notes, and snippets.

@timraymond
Created January 18, 2012 05:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save timraymond/1631148 to your computer and use it in GitHub Desktop.
Save timraymond/1631148 to your computer and use it in GitHub Desktop.
Remove SOPA overlay from Wikipedia pages
$("#mw-page-base, #mw-head-base, #content, #mw-head, #mw-panel, #footer").css("display", "inherit");
$("#mw-sopaOverlay").css("display", "none");
@zbowling
Copy link

I documented a bunch of methods: https://gist.github.com/1631355

@artursapek
Copy link

this shorter version works

$("div").css("display", "inherit");
$("#mw-sopaOverlay").css("display", "none");

@L1fescape
Copy link

Even shorter:
$("#content").show();

It doesn't get rid of the overlay, just pushes it to the bottom of the page and shows the content at the top. But it works. Also doesn't display navigation. For the rest:
$(".noprint").show();
$("#footer").show();
$("#mw-sopaOverlay").hide();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment