Skip to content

Instantly share code, notes, and snippets.

@dillera
Created December 8, 2021 16:28
Show Gist options
  • Save dillera/924bfeaf510a1ad113d57769e76b7438 to your computer and use it in GitHub Desktop.
Save dillera/924bfeaf510a1ad113d57769e76b7438 to your computer and use it in GitHub Desktop.
Firefox Kill Tabs
/* START -----------------------------------------------------------------to hide the native tabs */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* to hide the native tabs */
#TabsToolbar {
visibility: collapse;
}
#main-window[privatebrowsingmode="temporary"] #TabsToolBar {
visibility: visible !important;
}
/* Minimize sidebar header to a light blue stripe (except Bookmarks, History, Sync'd Tabs); appears normally on hover */
#sidebar-
box:not([sidebarcommand="viewBookmarksSidebar"]):not([sidebarcommand="viewHistorySidebar"]):not([sidebarcommand="viewTabsSidebar"]
)
#sidebar-header:not(:hover) {
max-height: 5px !important;
min-height: 5px !important;
padding: 0 !important;
background-color: #323234 !important;
opacity: 1 !important;
}
#sidebar-
box:not([sidebarcommand="viewBookmarksSidebar"]):not([sidebarcommand="viewHistorySidebar"]):not([sidebarcommand="viewTabsSidebar"]
)
#sidebar-header:not(:hover) #sidebar-switcher-target {
/* BAD NEWS: display: none !important; */
opacity: 0 !important;
}
#tabbrowser-tabs .tabbrowser-tab .tab-close-button { display:none!important; }
/* END -----------------------------------------------------------------to hide the native tabs */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment