Hacker News new | ask | show | jobs
by mabey 2693 days ago
Yeah. I have the sticky header bookmarklet saved first in my bookmarks so I can hit it whenever I browse Medium on mobile.
2 comments

This sounds useful, would you mind sharing?
javascript:(function()%7B(function () %7Bvar i%2C elements %3D document.querySelectorAll('body *')%3Bfor (i %3D 0%3B i < elements.length%3B i%2B%2B) %7Bif (getComputedStyle(elements%5Bi%5D).position %3D%3D%3D 'fixed') %7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()
you could just use greasemonkey or whatever the chrome equivalent is instead