Last active
December 25, 2015 08:28
-
-
Save makenova/6946529 to your computer and use it in GitHub Desktop.
A bookmarklet that hides all the sidebar and header crap on wikipedia, it puts the content front and center with the find bar in the top right corner so you can navigate to other articles.
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(){document.getElementById("mw-head-base").setAttribute("style","height:0px;visibility:hidden;");document.getElementById("mw-navigation").setAttribute("style","visibility:hidden;");document.getElementById("content").setAttribute("style","width:96%;margin-left:2px");var search=document.getElementById("searchInput");search.setAttribute("style","position:absolute;right:0;");var body=document.getElementsByTagName("body")[0];body.insertBefore(search,body.firstChild);})(); |
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(){ | |
_my_script=document.createElement('script'); | |
_my_script.type='text/javascript'; | |
_my_script.src='https://gist.github.com/makenova/6946529/raw/46390be80f63d4269602231d79fe2e952559ccbd/bigwiki.js'; | |
document.getElementsByTagName('head')[0].appendChild(_my_script); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment