Created
January 18, 2012 06:02
-
-
Save treyhunner/1631368 to your computer and use it in GitHub Desktop.
Bookmarklet to Temporarily remove SOPA overlay from Wikipedia page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){$('body').children('[id^=mw], #content, #footer').show().filter('#mw-sopaOverlay').hide();})() |
@CBas that solution shows a .suggestions-results
element that should remain hidden, but it's nearly invisible. Even shorter:
$('body>*').toggle();
Shorter one that toggles the target elements properly:
$('body>[id^=mw], #content, #footer').toggle();
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Shorter: