Lore Beautifier — Header

Rebuilds lore.kernel.org header into a proper flexbox layout

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
goodmartian
Daily installs
0
Total installs
2
Ratings
0 0 0
Version
1.0.0
Created
2026-03-17
Updated
2026-03-17
Size
2.94 KB
License
MIT
Applies to

This script is the JS half of a two-part setup. It rebuilds the lore.kernel.org header: pulls the search bar and nav links out of the <pre> block and reassembles them as a flexbox row. No styling — DOM only.

For the full experience, install the companion CSS: https://userstyles.world/style/27136/lore-beautifier (requires https://addons.mozilla.org/firefox/addon/styl-us/)

The CSS provides the dark theme, diff highlighting, typography, and responsive layout. The JS provides the proper header structure. Each works independently, but they're designed to be used together.