Instead of a bookmarklet I recommend using a browser extension like greasemonkey or tampermonkey to autorun the script and have the sticky headers unstuck on page load. No manual work of clicking the bookmarklet.
They explain in the article why they don't like that.
Kill Sticky Headers (2013)
81–84 of 84 posts
Re: Kill Sticky Headers (2013)
#82Earlier quoted context omitted.
What’s funny, there is a good way to do that: just look how ios safari urlbar works. When you scroll up, it collapses and bottom menu slides off-screen too. Then when you scroll up by dragging it (no ‘kick’ up), it remains collapsed. But if you ‘kick’ up, it shows both urlbar and bottom buttons at full size. It’s like that since ios 7, afair. Websites just show it on scroll-up no matter how you do it, so annoying.
What do you mean by "kick up"?
Re: Kill Sticky Headers (2013)
#83Earlier quoted context omitted.
You can add https://github.com/yourduskquibbles/webannoyances#one-click-... to UBlock Origin as a custom list instead of removing them yourself. Disclaimer: I've never tried it.
Thank you! Installed. Commenting so I can find it later and put on other computers.
Re: Kill Sticky Headers (2013)
#84Earlier quoted context omitted.
This is a real failure of browsers, by the way. The table HTML has all the semantic information necessary, browsers could use it to improve table usability (such as sticky headers) but none ever bothered to try.
Developers can opt into this with CSS now. th { position: sticky; top: 0; } I don't think it would have been reasonable to include/force such functionality at the spec level.