Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

3ae3ae/firefox-autohide-navbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Firefox Auto-hide Navbar Feature

ENGLISH | 한국어

This userChrome.css snippet provides a feature to automatically hide the address bar and title bar in Firefox browser. The elements appear when you move your mouse to the top, and automatically hide when you move your mouse elsewhere.

Features

  • Auto-hide address bar and title bar
  • Show elements on mouse hover
  • Smooth transition effect

Installation

  1. Open about:config in Firefox settings and set toolkit.legacyUserProfileCustomizations.stylesheets to true.
  2. Find your Firefox profile folder (refer to "Profile Folder" in about:support).
  3. Create a chrome folder in the profile folder (if it doesn't exist).
  4. Create a userChrome.css file inside the chrome folder and paste the following code:
#navigator-toolbox:not(:hover) > #titlebar,
#navigator-toolbox:has(#PersonalToolbar:hover) > #titlebar,
#navigator-toolbox:not(:hover) > #nav-bar,
#navigator-toolbox:has(#PersonalToolbar:hover) > #nav-bar {
  margin-top: -36px;
  opacity: 0;
}

#titlebar, #nav-bar {
  transition: all 0.3s ease-in-out !important;
}
  1. Restart Firefox.

Customization

  • Adjust the -36px value to change the degree of hiding.
  • Adjust the 0.3s value to change the transition speed.

Caution

This CSS snippet is based on the latest version of Firefox. Future Firefox updates may affect its functionality.

Troubleshooting

If the address bar is not visible, move your mouse to the top of the browser. If the problem persists, try "Refresh Firefox" in about:support.

About

A userChrome.css snippet for Firefox that automatically hides the navigation bar and title bar, revealing them on hover for a cleaner interface.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages