Make table headers sticky on Wikipedia
I was looking at a long table on a wikipedia article recently and realized I had to scroll alll the way up when I wondered What does that column mean?. It got me thinking: this definitely wasn't the first time I've run into this problem. But somebody else must've run into it too! I knew there were a ton of browser extensions related to Wikipedia so I went looking; surely with all their fancy ways of "improving" the site they had this covered. But after a few fruitless result pages, I got that ol' feeling -- time to make my own!
When I went to go publish this baby for that somebody else who must've run into this, I learned I'd first have to pay $5 set up a Developer Account for the Chrome Web Store! I didn't really feel like doing that. Maybe I'll come around to it eventually. In the meantime, this repo contains everything you need to attach the extension locally to your own browser.
—Jason (March 2024)
- Download this repo.
- Go to
chrome://extensions/
in your Chrome browser. - You'll need to enable
Developer mode
in the top-right. - Click
Load unpacked
and choose this folder.
And that ought to do it! You should now see the extension available in your Extensions and it should run only on Wikipedia pages.
There's a 1 second delay before it works on a page. See code comments for more details.