Take back your web browser screen space with the Kill Sticky bookmarklet (cohost.org) 5 points by coldpie 2y ago ↗ HN
[–] dxs 2y ago ↗ I keep both of these on my Firefox toolbar so they're alwasy visible and available. Takes about one second to hit the bookmarklet and clear the browser window of brain dead crap.kill sticky: javascript:(function()%7B(function%20()%20%7Bvar%20i%2C%20elements%20%3D%20document.querySelectorAll('body%20')%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20elements.length%3B%20i%2B%2B)%20%7Bif%20(getComputedStyle(elements%5Bi%5D).position%20%3D%3D%3D%20'fixed')%20%7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()disable css: javascript:for(i=0;i<document.styleSheets.length;i++){void(document.styleSheets.item(i).disabled=true);}el=document.getElementsByTagName('');for(i=0;i<el.length;i++){void(el[i].style.cssText='');}
1 comment
[ 4.0 ms ] story [ 14.3 ms ] threadkill sticky: javascript:(function()%7B(function%20()%20%7Bvar%20i%2C%20elements%20%3D%20document.querySelectorAll('body%20')%3Bfor%20(i%20%3D%200%3B%20i%20%3C%20elements.length%3B%20i%2B%2B)%20%7Bif%20(getComputedStyle(elements%5Bi%5D).position%20%3D%3D%3D%20'fixed')%20%7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()
disable css: javascript:for(i=0;i<document.styleSheets.length;i++){void(document.styleSheets.item(i).disabled=true);}el=document.getElementsByTagName('');for(i=0;i<el.length;i++){void(el[i].style.cssText='');}