Created
January 14, 2014 18:57
-
-
Save albertsun/8423723 to your computer and use it in GitHub Desktop.
Save this snippet of javascript as a bookmarklet to kill any fixed top or sidebars on a web 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(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="http://ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.firstElementChild.appendChild(c)}})(window,document,"1.10.2",function($,L){$('*').filter(function(){return%20$(this).css("position")==='fixed';}).remove();}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment