3 ms·
I hate sticky and fixed page headers, so these two are handy: Convert fixed position to absolute: javascript:(function(){var%20i,%20elements=document.quer
by perilunar 2y ago
I hate sticky and fixed page headers, so these two are handy:
Convert fixed position to absolute:
javascript:(function(){var%20i,%20elements=document.querySelectorAll('body%20*');for%20(i=0;%20i<elements.length;%20i++)%20{if%20(getComputedStyle(elements[i]).position%20==='fixed'){elements[i].style.position='absolute';}}})();
Convert sticky position to absolute:
javascript:(function(){var%20i,%20elements=document.querySelectorAll('body%20*');for%20(i=0;%20i<elements.length;%20i++)%20{if%20(getComputedStyle(elements[i]).position%20==='sticky'){elements[i].style.position='absolute';}}})();
Though looking at them now I should combine and update them.