News for hackers. Stuff that matters.
Re:Mobile-First CSS: Is It Time for a Rethink? by leephillips on Sunday June 19, 2022 @09:30PM (#31805326)
But that seems to be most sites these days. I have this bookmarklet invokable with a keyboard shortcut:

javascript:let i, elements = document.querySelectorAll('body *'); for (i = 0; i < elements.length; i++) { if(getComputedStyle(elements[i]).position === 'fixed' || getComputedStyle(elements[i]).position === 'sticky'){ elements[i].parentNode.removeChild(elements[i]); } }

That zaps fixed and sticky elements, so I can actually see the content. (I like the Vivaldi browser because I can assign keys to many things.)

There are no comments on this comment yet.