同じドメインのページで、ハッシュ部分を除いたパートが同一のURIに対しては、
新規タブを開かないようにした git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1354 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
0f522d4bc6
commit
4acaa50c62
@ -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 :
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user