Skip to content

A Windhawk mod to restore the native titlebar on the latest Firefox versions

Notifications You must be signed in to change notification settings

YoshiCrafter29/Firefox-Native-Titlebar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Firefox Native Titlebar

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.

Installation steps

  1. On your Firefox profile, make sure that in about:config, those properties are set:
Property Name Type Value
toolkit.legacyUserProfileCustomizations.stylesheets Boolean true
  1. Then, drag and drop the userChrome.css file in this repo within the chrome folder 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 chrome folder does not exist, create it
    • If you already have a userChrome.css, simply rename the file in the repo to firefoxNativeTitlebar.css, and add this line at the very bottom of your already existing userChrome.css file:
      @import "firefoxNativeTitlebar.css"
  2. Open Windhawk (install it if it's not already present)

  3. Click on "Create a new mod", then copy and paste everything included in the firefox-native-titlebar.wh.cpp file

  4. Make sure "Enable mod" is checked, click on "Compile mod", and wait for it to compile.

  5. Click on "Exit Editing Mode", then restart your browser

  6. Enjoy!

Screenshots

LibreWolf Running on LibreWolf version 136.0.4-1 (latest version as of April 2025)

Firefox Developer Edition Running on Firefox Developer Edition 138.0b6 (latest version as of April 2025), with vertical tabs on

Credits

QNA

1. Will this work on Chrome/Edge/Any other Chromium based browser?

No, this mod is only made for Firefox and its forks.

2. Is this required for Firefox ESR 115?

No, this version of Firefox still contains the old Win7 era titlebar code. To activate it, look for a corresponding userChrome.css file.

3. The titlebar buttons are invisible on my fork of Firefox

On Windhawk, add your fork's executable to the mod's custom include list.

This mod only applies to LibreWolf and Firefox by default.

Known Bugs & Quirks

  • 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

About

A Windhawk mod to restore the native titlebar on the latest Firefox versions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors