Skip to content

Instantly share code, notes, and snippets.

@LeoDJ
Last active October 21, 2022 07:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeoDJ/c4fa490b6692cee5907164acbd9f7534 to your computer and use it in GitHub Desktop.
Save LeoDJ/c4fa490b6692cee5907164acbd9f7534 to your computer and use it in GitHub Desktop.
TreeStyleTabs userChrome.css (hide tab bar and "Tree Style Tab" headline)
/* put file in <AppData>/Mozilla/Firefox/Profiles/<yourProfile>/chrome */
/* to correctly display tab title as window title, set browser.tabs.drawInTitlebar to false in about:config */
/* note: since FF 69 you also need to set toolkit.legacyUserProfileCustomizations.stylesheets to true for it to work*/
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar {
opacity: 0;
pointer-events: none;
}
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
visibility: collapse !important;
}
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] #sidebar-header {
display: none;
}
@CatoLynx
Copy link

CatoLynx commented Oct 14, 2022

Seems to cause a blank title bar, so you have to enable the title bar in the hamburger menu > More tools > Customize toolbar... then tick "Title Bar" in the bottom left corner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment