Selection Links(https://addons.mozilla.org/firefox/addon/8644)と協調して動作するようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5484 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
a0df924943
commit
b2d0653ae9
@ -247,6 +247,21 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
);
|
||||
}
|
||||
|
||||
// Selection Links
|
||||
// https://addons.mozilla.org/firefox/addon/8644
|
||||
if ('selectionlinks' in window &&
|
||||
'parseSelection' in selectionlinks) {
|
||||
eval('selectionlinks.parseSelection = '+
|
||||
selectionlinks.parseSelection.toSource().replace(
|
||||
/((?:[^\s:;]+.selectedTab\s*=\s*)?([^\s:;]+).addTab\()/g,
|
||||
<![CDATA[
|
||||
if ($2.treeStyleTab)
|
||||
$2.treeStyleTab.readyToOpenChildTab(focusedWindow);
|
||||
$1]]>
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
// Tab Mix Plus
|
||||
if ('TMupdateSettings' in window) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user