mirror of
https://git.gay/freeplay/Firefox-Onebar
synced 2026-11-22 18:51:04 +00:00
Mirror of https://git.gay/freeplay/Firefox-Onebar
- CSS 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
- Fixed single-tab styling applying to grouped tabs - Fixed hide-all-URLbar-icons not hiding new trustpanel button (fix #32) - Removed broken truncate https option, you can change this in Firefox with browser.urlbar.trimURLs - Tried to make customize menu a little better |
||
| LICENSE | ||
| onebar.css | ||
| README.md | ||
|
Installation
Currently, I can only test Gnome Linux. However it does work for other OS's.
It is also possible to install with Firefox UI Fix
In Firefox
- Make sure you are on the latest firefox stable version. ESR & other editions may not work as intended.
- Visit
about:config- Search for
toolkit.legacyUserProfileCustomizations.stylesheets, set it to true - While you're here, you can enable other customizations you may want here
- Search for
- Visit
about:support - In the
Profile Directoryrow, copy the full path- May look something like:
/home/{username}/.mozilla/firefox/...
- May look something like:
In your file explorer
- Navigate to the path you've copied before
- If there is no
chromefolder, create one and enter it - Create a file named
userChrome.css- At the very top of this file, include:
@import "onebar/onebar.css"; - The onebar.css file will be created in the next steps.
- This makes it easier for other styles to be imported along with Onebar.
- At the very top of this file, include:
Then, in a Terminal
To do this method, you may need to download Git.
Doing this will allow you to update by running git pull in onebar's folder.
# Run each line individually.
cd #paste the path you copied before here to enter your firefox profile's folder, remove this comment
git clone https://git.gay/Freeplay/firefox-onebar.git chrome/onebar
There should now be a onebar folder inside of the chrome folder.
OR, to add it manually:
- Go to the path you copied before in your file explorer and enter the chrome folder you created before
- Create a folder named
onebarinside of thechromefolder - Copy the
onebar.cssfile into theonebarfolder.
Restart Firefox, and enjoy :)
Updating
If you used the Terminal Method:
cd #the path you copied before
cd chrome/onebar && git pull
If you've added it manually:
- Go to the path you copied before in your file explorer
- Enter the
chrome/onebarfolder - Copy & paste the contents of
userChrome.cssinto the file
Then, restart Firefox.
Customizations
- Copy the preference name of the customization you want to enable from the table below
- Visit
about:config - Paste the preference name into the search bar
- Click the plus button at the bottom right
Then, restart Firefox.
| Customization | Preference Name |
|---|---|
| Autohide all URLbar icons until hover | onebar.hide-all-URLbar-icons |
| Disable autohiding of URLbar icons Prevents movement of URLbar |
onebar.disable-autohide-of-URLbar-icons |
| Disable centering of URLbar on focus | onebar.disable-centering-of-URLbar |
| Disable single-tab styling Disables the titlebar-like tab when there's only a single tab. |
onebar.disable-single-tab |
| Hide unified extensions button | onebar.hide-unified-extensions-button |
| Hide all tabs button | onebar.hide-all-tabs-button |
| Hide navigation buttons when disabled When you are at the start or end of the tab's history |
onebar.conditional-navigation-buttons |
| Disable hiding navigation buttons when dragging to right of URLbar | onebar.disable-hiding-navigation-buttons |
| Collapse URLbar Only one button is shown at a time until hovered. Use ctrl+l to reveal & focus the URLbar |
onebar.collapse-URLbar |
Use with Firefox UI Fix:
- Install the Proton-style version of the Firefox UI fix first
- Visit
about:support - In the
Profile Directoryrow, click "Open Directory" - Enter the
chromefolder - Locate & open the
userChrome.cssfile- At the very top of this file, include:
@import "onebar/onebar.css";
- At the very top of this file, include:
- Continue from the "Then, in a Terminal" section.
Then, restart Firefox.
Attribution
If you modify this style or use it in your own work, please make sure to at least credit me somewhere visible with a link to my website or to this style's repository :)
See the license below for more details:

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.





