tabs opened by Duplicate This Tab ( https://addons.mozilla.org/firefox/addon/duplicate-this-tab/ ) aren't opened as a child of the current tab.
This commit is contained in:
parent
5dfbffc0be
commit
5c99ed22f8
@ -1098,6 +1098,19 @@ TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_ove
|
||||
);
|
||||
}
|
||||
|
||||
// Duplicate This Tab
|
||||
// https://addons.mozilla.org/firefox/addon/duplicate-this-tab/
|
||||
if ('duplicatethistab' in window &&
|
||||
'openLinkWithHistory' in window.duplicatethistab &&
|
||||
sv.getTreePref('compatibility.DuplicateThisTab')) {
|
||||
eval('duplicatethistab.openLinkWithHistory = '+
|
||||
duplicatethistab.openLinkWithHistory.toSource().replace(
|
||||
'var newTab = ',
|
||||
'TreeStyleTabService.readyToOpenChildTab(); $&'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
window.setTimeout(function(aSelf) {
|
||||
aSelf.overrideExtensionsDelayed();
|
||||
}, 0, this);
|
||||
|
@ -569,6 +569,7 @@ pref("extensions.treestyletab.compatibility.ColorfulTabs", true);
|
||||
pref("extensions.treestyletab.compatibility.DomainTab", true);
|
||||
pref("extensions.treestyletab.compatibility.DragDeGo", true);
|
||||
pref("extensions.treestyletab.compatibility.DragNDropToolbars", true);
|
||||
pref("extensions.treestyletab.compatibility.DuplicateThisTab", true);
|
||||
pref("extensions.treestyletab.compatibility.FirefoxSync", true);
|
||||
pref("extensions.treestyletab.compatibility.FireGestures", true);
|
||||
pref("extensions.treestyletab.compatibility.FLST", true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user