new tabs opened by InstaClick ( https://addons.mozilla.org/firefox/addon/instaclick/ ) should become child tabs of the current tab.
This commit is contained in:
parent
face3c44c9
commit
99e8ae01dd
@ -1085,6 +1085,19 @@ TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_ove
|
||||
}
|
||||
}
|
||||
|
||||
// InstaClick
|
||||
// https://addons.mozilla.org/firefox/addon/instaclick/
|
||||
if ('instaclick' in window &&
|
||||
'contentAreaClick2' in window.instaclick &&
|
||||
sv.getTreePref('compatibility.InstaClick')) {
|
||||
eval('instaclick.contentAreaClick2 = '+
|
||||
instaclick.contentAreaClick2.toSource().replace(
|
||||
'gBrowser.loadOneTab(',
|
||||
'TreeStyleTabService.readyToOpenChildTab(); $&'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
window.setTimeout(function(aSelf) {
|
||||
aSelf.overrideExtensionsDelayed();
|
||||
}, 0, this);
|
||||
|
@ -578,6 +578,7 @@ pref("extensions.treestyletab.compatibility.GoogleToolbar.Sidewiki", true);
|
||||
pref("extensions.treestyletab.compatibility.Greasemonkey", true);
|
||||
pref("extensions.treestyletab.compatibility.Highlander", true);
|
||||
pref("extensions.treestyletab.compatibility.IETabPlus", true);
|
||||
pref("extensions.treestyletab.compatibility.InstaClick", true);
|
||||
pref("extensions.treestyletab.compatibility.LastTab", true);
|
||||
pref("extensions.treestyletab.compatibility.Linky", true);
|
||||
pref("extensions.treestyletab.compatibility.Locationbar2", true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user