3 ms·
The header on that website that stays there as you scroll is obnoxiously annoying. It takes up 25% of the page on desktop.
by ChocMontePy 2y ago
The header on that website that stays there as you scroll is obnoxiously annoying. It takes up 25% of the page on desktop.
- deleted 2y ago[deleted]
- pwg 2y agoThis javascript below, in the URL field of a bookmark, will delete the sticky header when you hit the bookmark: javascript:(function%20()%20{var%20i,elements=document.querySelectorAll('body%20*');%20for%20(i=0;i<elements.length;i++)%20{if%20(getComputedStyle(elements[i]).position==='fixed'%20||%20getComputedStyle(elements[i]).position==='sticky')%20{elements[i].parentNode.removeChild(elements[i]);}}})();