3 ms·
I wish Quanta Magazine would fix their floating header on iOS mobile. It’s been broken for more than a year. I have the URL bar at the top of my screen. If the
by chatmasta 2y ago
I wish Quanta Magazine would fix their floating header on iOS mobile. It’s been broken for more than a year. I have the URL bar at the top of my screen. If the height of the header is Hpx, its top is positioned Hpx away from the origin. It’s infuriating. And also, reader mode sometimes doesn’t render the whole article so I can’t use it to bypass the frustrations.
- pwg 2y agoIf iOS mobile will run bookmarklets [1] then this bookmarklet will delete the fixed header from the page (note, this is all one long line in the bookmark URL field): javascript:(function () {var 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]);}}})(); [1] https://en.wikipedia.org/wiki/Bookmarklet https://en.wikipedia.org/wiki/Bookmarklet
- chatmasta 2y agoI’m sure there is a way to get that to work, but I just tweeted at them instead. Fingers crossed they fix it. I like their articles… (To be fair, I block all their ads and don’t pay them any money.)
- anitil 2y agoWell that was quite a rabbit hole on bookmarklets! Not sure how I went so long without learning about them, and now I'm not sure how I managed without them