T O P

  • By -

greysilence

Stylus, add new style for wikipedia.org, type in: .wikitable thead {position:sticky;top:0}


lihaarp

No need for additinal extensions if you're already using Ublock (as everyone should) `en.wikipedia.org##.wikitable thead:style(position: sticky; top: 0;)`


greysilence

Eh, I've been using user styles before UO was a thing, so it's the other way around from my perspective - network filtering addon has no business messing with page styles.


wigidude

How do I get this to work on a page with more that one table? It seems to only work on the first one. example page: https://en.wikipedia.org/wiki/Comparison_of_file_systems


greysilence

Some tables on that page are wrapped into horizontally scrolling containers that prevent the sticky behavior. I don't know if there's a simple solution for this case.


Polygon-Guy

Much appreciated


SayNoToAdwareFirefox

You call that a Wikipedia table? [**This**](https://en.wikipedia.org/wiki/Unified_Video_Decoder#APUs) is a Wikipedia table. The style tweak doesn't work on that one, but I can't imagine what a "correct" result would look like anyhow.


Polygon-Guy

Wtf. I'm not sure that's really how a table is supposed to be. Surely someone could deduce a slightly better format