-
-
Notifications
You must be signed in to change notification settings - Fork 156
Firefox Styles Snippets (via userChrome.css)
mbnuqw edited this page Apr 3, 2021
·
7 revisions
Note: Starting with Firefox 69 you have to enable toolkit.legacyUserProfileCustomizations.stylesheets in about:config.
In 'Profile Directory' (Menu > Help > Troubleshooting Information > Profile Directory)
create folder chrome
with file userChrome.css
.
To find and inspect browser's selectors open Browser Toolbox.
#TabsToolbar {
display: none;
}
#TabsToolbar[inFullscreen="true"] {
display: none;
}
#sidebar-header {
display: none;
}
- Set window preface value:
Sidebery settings
>Help
>Preface value
note: in this example: XXX
note: value can be an "empty" unicode sign - Set custom css:
#main-window #TabsToolbar {
height: 29px !important;
overflow: hidden;
transition: height .3s .3s !important;
}
#main-window[titlepreface*="XXX"] #TabsToolbar {
height: 0 !important;
}
#main-window[titlepreface*="XXX"] #tabbrowser-tabs {
z-index: 0 !important;
}