A Windhawk mod to bring back the native titlebar on the latest version of Firefox.
The titlebar buttons are fully functional, both when the window is maximized and isn't.
- On your Firefox profile, make sure that in
about:config, those properties are set:
| Property Name | Type | Value |
|---|---|---|
toolkit.legacyUserProfileCustomizations.stylesheets |
Boolean | true |
-
Then, drag and drop the
userChrome.cssfile in this repo within thechromefolder of your Firefox profile folder- To open your profile's directory, open
about:profiles, scroll down to the one that states it is in use, then click the "Open Directory" button next on the "Root Directory" line. - If the
chromefolder does not exist, create it - If you already have a
userChrome.css, simply rename the file in the repo tofirefoxNativeTitlebar.css, and add this line at the very bottom of your already existinguserChrome.cssfile:@import "firefoxNativeTitlebar.css"
- To open your profile's directory, open
-
Open Windhawk (install it if it's not already present)
-
Click on "Create a new mod", then copy and paste everything included in the
firefox-native-titlebar.wh.cppfile -
Make sure "Enable mod" is checked, click on "Compile mod", and wait for it to compile.
-
Click on "Exit Editing Mode", then restart your browser
-
Enjoy!
Running on LibreWolf version 136.0.4-1 (latest version as of April 2025)
Running on Firefox Developer Edition 138.0b6 (latest version as of April 2025), with vertical tabs on
- Theme: Aero10 by vaporvance
- Glass effects: OpenGlass
- Window metrics: Aero Window Manager (using configuration from theme)
No, this mod is only made for Firefox and its forks.
No, this version of Firefox still contains the old Win7 era titlebar code. To activate it, look for a corresponding userChrome.css file.
On Windhawk, add your fork's executable to the mod's custom include list.
This mod only applies to LibreWolf and Firefox by default.
- Maximizing the dev tools window makes its titlebar invisible
- Disabling the mod while your browser is open might lead to a crash
- Enabling the mod while your browser is open might lead to a crash upon closing
- This mod does not adjusts Firefox's stylesheet to properly fit the transparency, leading to some text being unreadable especially on light mode.
- The "Title Bar" option is pretty much broken now