From 6d507f91c03a8e2d6efd2f06deaca80a9985649a Mon Sep 17 00:00:00 2001 From: piro Date: Fri, 4 Sep 2009 01:56:14 +0000 Subject: [PATCH] =?UTF-8?q?Snap=20Links=20Plus=E3=81=A7=E9=96=8B=E3=81=8B?= =?UTF-8?q?=E3=82=8C=E3=81=9F=E3=82=BF=E3=83=96=E3=82=92=E7=8F=BE=E5=9C=A8?= =?UTF-8?q?=E3=81=AE=E3=82=BF=E3=83=96=E3=81=AE=E5=AD=90=E3=81=AB=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5090 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/hacks.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/hacks.js b/content/treestyletab/hacks.js index 378b5112..cf18da77 100644 --- a/content/treestyletab/hacks.js +++ b/content/treestyletab/hacks.js @@ -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' ) ); }