We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 233dd50 commit aac400cCopy full SHA for aac400c
chrome/content/tabutils.js
@@ -2663,6 +2663,11 @@ tabutils._hideTabBar = function() {
2663
toolbarNodes.push(tabsToolbar);
2664
});
2665
2666
+ if ("getTogglableToolbars" in window) // Bug 940669 [Fx29]
2667
+ TU_hookCode("getTogglableToolbars", /(?=.*return.*)/, function() {
2668
+ toolbarNodes = [...new Set(toolbarNodes)];
2669
+ });
2670
+
2671
TU_hookCode("setToolbarVisibility", /.*setAttribute.*/, 'if (toolbar.id == "TabsToolbar") gBrowser.mTabContainer.visible = isVisible; else $&');
2672
TU_hookCode("gBrowser.mTabContainer.updateVisibility", "{", 'if (!TU_getPref("browser.tabs.autoHide")) return;');
2673
};
0 commit comments