diff --git a/content/treestyletab/windowHelper.js b/content/treestyletab/windowHelper.js index c72df480..5b56cf9e 100644 --- a/content/treestyletab/windowHelper.js +++ b/content/treestyletab/windowHelper.js @@ -187,11 +187,19 @@ var TreeStyleTabWindowHelper = { 'loadSearch' in BrowserSearch) { eval('BrowserSearch.loadSearch = '+ BrowserSearch.loadSearch.toSource().replace( + // for old Firefox 3.6 or olders 'if (useNewTab) {', + ).replace( + // for old Firefox 4 or later + 'openLinkIn(', + ) ); }