From 8bf532a604c7c8f3902796e37d9f71f409ab0dae Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Wed, 8 Dec 2010 17:39:36 +0900 Subject: [PATCH] support Domain Tab ( https://addons.mozilla.org/firefox/addon/13906/ ) --- content/treestyletab/hacks.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/content/treestyletab/hacks.js b/content/treestyletab/hacks.js index 644239ef..2755b697 100644 --- a/content/treestyletab/hacks.js +++ b/content/treestyletab/hacks.js @@ -1196,6 +1196,16 @@ TreeStyleTabService.overrideExtensionsDelayed = function TSTService_overrideExte ); } + // Domain Tab + if ('domaintab' in window && 'TMP_howToOpen' in domaintab) { + eval('domaintab.TMP_howToOpen = '+ + domaintab.TMP_howToOpen.toSource().replace( + /(domaintab.DT_openNewTabWith\()/g, + 'TreeStyleTabService.readyToOpenChildTab(); $1' + ) + ); + } + // Firefox Sync (Weave) // http://www.mozilla.com/en-US/firefox/sync/ if (