Open new tab by Tile Tabs as a child of the current tab
This commit is contained in:
parent
86896dfa3d
commit
dd45a2a080
@ -1166,6 +1166,19 @@ TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_ove
|
||||
);
|
||||
}
|
||||
|
||||
// Tile Tabs
|
||||
// https://addons.mozilla.org/firefox/addon/tile-tabs/
|
||||
if ('tileTabs' in window &&
|
||||
'allocateTab' in window.tileTabs &&
|
||||
TreeStyleTabUtils.getTreePref('compatibility.TileTabs')) {
|
||||
eval('tileTabs.allocateTab = '+
|
||||
tileTabs.allocateTab.toSource().replace(
|
||||
'tab = gBrowser.addTab',
|
||||
'TreeStyleTabService.readyToOpenChildTabNow(); $&'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
window.setTimeout(function(aSelf) {
|
||||
aSelf.overrideExtensionsDelayed();
|
||||
}, 0, this);
|
||||
|
@ -688,6 +688,7 @@ pref("extensions.treestyletab.compatibility.Tabberwocky", true);
|
||||
pref("extensions.treestyletab.compatibility.TabControl", true);
|
||||
pref("extensions.treestyletab.compatibility.TabsOnBottom", true);
|
||||
pref("extensions.treestyletab.compatibility.TabUtilities", true);
|
||||
pref("extensions.treestyletab.compatibility.TileTabs", true);
|
||||
pref("extensions.treestyletab.compatibility.TMP", true); // Tab Mix Plus
|
||||
pref("extensions.treestyletab.compatibility.TooManyTabs", true);
|
||||
pref("extensions.treestyletab.compatibility.TotalToolbar", true);
|
||||
|
Loading…
Reference in New Issue
Block a user