同じドメインのページで、ハッシュ部分を除いたパートが同一のURIに対しては、

新規タブを開かないようにした

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1354 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2007-10-26 19:52:59 +00:00
parent 0f522d4bc6
commit 4acaa50c62
2 changed files with 2 additions and 1 deletions

View File

@ -776,6 +776,7 @@ catch(e) {
( (
TreeStyleTabService.getTreePref('urlbar.loadSameDomainToNewChildTab') && TreeStyleTabService.getTreePref('urlbar.loadSameDomainToNewChildTab') &&
currentHost == RegExp.$1 && currentHost == RegExp.$1 &&
currentURI.spec.split('#')[0] != irl.split('#')[0] &&
(TreeStyleTabService.readyToOpenChildTab( (TreeStyleTabService.readyToOpenChildTab(
parentHost == RegExp.$1 ? parentHost == RegExp.$1 ?
parentTab : parentTab :

View File

@ -14,7 +14,7 @@ pref("extensions.treestyletab.levelMargin", 12);
pref("extensions.treestyletab.show.openSelectionLinks", true); pref("extensions.treestyletab.show.openSelectionLinks", true);
pref("extensions.treestyletab.urlbar.loadDifferentDomainToNewTab", 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.loadDroppedLinkToNewChildTab", false);
pref("extensions.treestyletab.openGroupBookmarkAsTabSubTree", true); pref("extensions.treestyletab.openGroupBookmarkAsTabSubTree", true);