git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5594 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-12-24 02:14:07 +00:00
parent b705a90131
commit 8089eee502

View File

@ -825,6 +825,27 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
);
}
// Multi Links
// https://addons.mozilla.org/firefox/addon/13494
if ('MultiLinks_LinksManager' in window &&
'OpenInNewTabs' in MultiLinks_LinksManager) {
eval('MultiLinks_LinksManager.OpenInNewTabs = '+
MultiLinks_LinksManager.OpenInNewTabs.toSource().replace(
'{',
<![CDATA[{
if (!TreeStyleTabService.checkToOpenChildTab(getBrowser()))
TreeStyleTabService.readyToOpenChildTab(getBrowser(), true);
]]>
).replace(
/(}\)?)$/,
<![CDATA[{
if (TreeStyleTabService.checkToOpenChildTab(getBrowser()))
TreeStyleTabService.stopToOpenChildTab(getBrowser());
$1]]>
)
);
}
// Mouseless Browsing
// https://addons.mozilla.org/firefox/addon/879
if ('mouselessbrowsing' in window &&