update for Snap Links Plus 2.1 ( http://snaplinks.mozdev.org/ )
This commit is contained in:
parent
257ebd24d9
commit
1b3248172a
@ -706,9 +706,9 @@ TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_ove
|
|||||||
// https://addons.mozilla.org/firefox/addon/4336
|
// https://addons.mozilla.org/firefox/addon/4336
|
||||||
// Snap Links Plus
|
// Snap Links Plus
|
||||||
// http://snaplinks.mozdev.org/
|
// http://snaplinks.mozdev.org/
|
||||||
|
if (sv.getTreePref('compatibility.SnapLinks')) {
|
||||||
if ('executeAction' in window &&
|
if ('executeAction' in window &&
|
||||||
'openTabs' in window &&
|
'openTabs' in window) {
|
||||||
sv.getTreePref('compatibility.SnapLinks')) {
|
|
||||||
eval('window.openTabs = '+
|
eval('window.openTabs = '+
|
||||||
window.openTabs.toSource().replace(
|
window.openTabs.toSource().replace(
|
||||||
/((sContent|gBrowser|getBrowser\(\))\.addTab)/,
|
/((sContent|gBrowser|getBrowser\(\))\.addTab)/,
|
||||||
@ -716,6 +716,16 @@ TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_ove
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if ('SnapLinks' in window &&
|
||||||
|
'OpenTabs' in SnapLinks) {
|
||||||
|
eval('SnapLinks.OpenTabs = '+
|
||||||
|
SnapLinks.OpenTabs.toSource().replace(
|
||||||
|
/((sContent|gBrowser|getBrowser\(\))\.addTab)/,
|
||||||
|
'TreeStyleTabService.readyToOpenChildTab($2); $1'
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Mouseless Browsing
|
// Mouseless Browsing
|
||||||
// https://addons.mozilla.org/firefox/addon/879
|
// https://addons.mozilla.org/firefox/addon/879
|
||||||
|
Loading…
Reference in New Issue
Block a user