Snap Links Plusで開かれたタブを現在のタブの子にするようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5090 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
4e1c66acf0
commit
6d507f91c0
@ -670,11 +670,12 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() {
|
||||
|
||||
// Snap Links
|
||||
// https://addons.mozilla.org/firefox/addon/4336
|
||||
// http://snaplinks.mozdev.org/
|
||||
if ('executeAction' in window && 'openTabs' in window) {
|
||||
eval('window.openTabs = '+
|
||||
window.openTabs.toSource().replace(
|
||||
'sContent.addTab',
|
||||
'TreeStyleTabService.readyToOpenChildTab(sContent); $&'
|
||||
/((sContent|gBrowser|getBrowser\(\))\.addTab)/,
|
||||
'TreeStyleTabService.readyToOpenChildTab($2); $1'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user