diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 5185b28b..d38dd87a 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -776,6 +776,7 @@ catch(e) { ( TreeStyleTabService.getTreePref('urlbar.loadSameDomainToNewChildTab') && currentHost == RegExp.$1 && + currentURI.spec.split('#')[0] != irl.split('#')[0] && (TreeStyleTabService.readyToOpenChildTab( parentHost == RegExp.$1 ? parentTab : diff --git a/defaults/preferences/treestyletab.js b/defaults/preferences/treestyletab.js index f5b5d4ff..ff5e0cff 100644 --- a/defaults/preferences/treestyletab.js +++ b/defaults/preferences/treestyletab.js @@ -14,7 +14,7 @@ pref("extensions.treestyletab.levelMargin", 12); pref("extensions.treestyletab.show.openSelectionLinks", true); pref("extensions.treestyletab.urlbar.loadDifferentDomainToNewTab", true); -pref("extensions.treestyletab.urlbar.loadSameDomainToNewChildTab", true); +pref("extensions.treestyletab.urlbar.loadSameDomainToNewChildTab", false); pref("extensions.treestyletab.loadDroppedLinkToNewChildTab", false); pref("extensions.treestyletab.openGroupBookmarkAsTabSubTree", true);