From 0ae27f9716fd69c256035393ed9ddcfdf11c2fb0 Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 15 Jun 2010 14:48:24 +0000 Subject: [PATCH] =?UTF-8?q?Mouse=20Gestures=20Redox=EF=BC=88=20http://www.?= =?UTF-8?q?mousegestures.org/=20=EF=BC=89=E3=81=A7=E9=96=8B=E3=81=8B?= =?UTF-8?q?=E3=82=8C=E3=82=8B=E3=82=BF=E3=83=96=E3=82=92=E5=AD=90=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=81=AB=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=E3=81=97=E3=81=9F=EF=BC=88by=20A=20A=EF=BC=89?= 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@6679 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/hacks.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content/treestyletab/hacks.js b/content/treestyletab/hacks.js index e10ce08f..86f543ae 100644 --- a/content/treestyletab/hacks.js +++ b/content/treestyletab/hacks.js @@ -756,6 +756,17 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override ); } + // Mouse Gestures Redox + // http://www.mousegestures.org/ + if ('mgBuiltInFunctions' in window && 'mgLinkInTab' in mgBuiltInFunctions) { + eval('mgBuiltInFunctions.mgLinkInTab = '+ + mgBuiltInFunctions.mgLinkInTab.toSource().replace( + 'var tab', + 'TreeStyleTabService.readyToOpenChildTab(gBrowser); $&' + ) + ); + } + // Greasemonkey // https://addons.mozilla.org/firefox/addon/748 if ('GM_BrowserUI' in window && 'openInTab' in GM_BrowserUI) {