diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 85ab3b11..02f6f02a 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -514,6 +514,19 @@ var TreeStyleTabService = { ) ); + if ('BrowserSearch' in window && + 'loadSearch' in BrowserSearch) { + eval('BrowserSearch.loadSearch = '+ + BrowserSearch.loadSearch.toSource().replace( + 'if (useNewTab) {', + + ) + ); + } + this._splitFunctionNames(