4 ms·
Ha, wow, I wrote my own (much less fancy) bookmarklet that does this and also called it Kill Sticky: javascript:for(e%20of%20document.querySelectorAll(%22body%
by fisherjeff 4y ago
Ha, wow, I wrote my own (much less fancy) bookmarklet that does this and also called it Kill Sticky:
javascript:for(e%20of%20document.querySelectorAll(%22body%20*%22))%7Bp=getComputedStyle(e).position;if((p===%22fixed%22)%7C%7C(~p.indexOf(%22sticky%22)))e.parentNode.removeChild(e);%7D
- rasz 4y agomine kept growing every time I stumbled on a page with new hostile sticky situation: javascript:(function(){void([].forEach.call(document.querySelectorAll('body *'),e=>/fixed|sticky/.test(getComputedStyle(e).position)&&e.parentNode.removeChild(e)));document.body.style = 'overflow:auto !important; height:100% !important;';document.body.removeAttribute("class");document.firstElementChild.removeAttribute("style");document.firstElementChild.removeAttribute("class")})()