異なるドメインに対して開かれるタブを子タブにする設定を設けた
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1832 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
a3a6bbf50e
commit
8c5c96ff41
@ -181,6 +181,9 @@
|
|||||||
<preference id="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab"
|
<preference id="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab"
|
||||||
name="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab"
|
name="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab"
|
||||||
type="bool"/>
|
type="bool"/>
|
||||||
|
<preference id="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab.asChild"
|
||||||
|
name="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab.asChild"
|
||||||
|
type="bool"/>
|
||||||
<preference id="extensions.treestyletab.urlbar.loadSameDomainToNewChildTab"
|
<preference id="extensions.treestyletab.urlbar.loadSameDomainToNewChildTab"
|
||||||
name="extensions.treestyletab.urlbar.loadSameDomainToNewChildTab"
|
name="extensions.treestyletab.urlbar.loadSameDomainToNewChildTab"
|
||||||
type="bool"/>
|
type="bool"/>
|
||||||
@ -223,9 +226,14 @@
|
|||||||
<groupbox>
|
<groupbox>
|
||||||
<caption label="&config.urlbar.caption;"/>
|
<caption label="&config.urlbar.caption;"/>
|
||||||
<vbox>
|
<vbox>
|
||||||
|
<hbox align="center">
|
||||||
<checkbox id="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab-check"
|
<checkbox id="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab-check"
|
||||||
preference="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab"
|
preference="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab"
|
||||||
label="&config.urlbar.loadDifferentDomainToNewTab;"/>
|
label="&config.urlbar.loadDifferentDomainToNewTab;"/>
|
||||||
|
<checkbox id="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab.asChild-check"
|
||||||
|
preference="extensions.treestyletab.urlbar.loadDifferentDomainToNewTab.asChild"
|
||||||
|
label="&config.urlbar.loadDifferentDomainToNewTab.asChild;"/>
|
||||||
|
</hbox>
|
||||||
<checkbox id="extensions.treestyletab.urlbar.loadSameDomainToNewChildTab-check"
|
<checkbox id="extensions.treestyletab.urlbar.loadSameDomainToNewChildTab-check"
|
||||||
preference="extensions.treestyletab.urlbar.loadSameDomainToNewChildTab"
|
preference="extensions.treestyletab.urlbar.loadSameDomainToNewChildTab"
|
||||||
label="&config.urlbar.loadSameDomainToNewChildTab;"/>
|
label="&config.urlbar.loadSameDomainToNewChildTab;"/>
|
||||||
|
@ -902,7 +902,10 @@ catch(e) {
|
|||||||
<><![CDATA[
|
<><![CDATA[
|
||||||
TreeStyleTabService.checkReadyToOpenNewTab({
|
TreeStyleTabService.checkReadyToOpenNewTab({
|
||||||
uri : url,
|
uri : url,
|
||||||
external : { newTab : TreeStyleTabService.getTreePref('urlbar.loadDifferentDomainToNewTab') },
|
external : {
|
||||||
|
newTab : TreeStyleTabService.getTreePref('urlbar.loadDifferentDomainToNewTab'),
|
||||||
|
forceChild : TreeStyleTabService.getTreePref('urlbar.loadDifferentDomainToNewTab.asChild')
|
||||||
|
},
|
||||||
internal : { newTab : TreeStyleTabService.getTreePref('urlbar.loadSameDomainToNewChildTab') },
|
internal : { newTab : TreeStyleTabService.getTreePref('urlbar.loadSameDomainToNewChildTab') },
|
||||||
modifier : aTriggeringEvent && aTriggeringEvent.altKey,
|
modifier : aTriggeringEvent && aTriggeringEvent.altKey,
|
||||||
invert : TreeStyleTabService.getTreePref('urlbar.invertDefaultBehavior')
|
invert : TreeStyleTabService.getTreePref('urlbar.invertDefaultBehavior')
|
||||||
|
@ -34,6 +34,7 @@ pref("extensions.treestyletab.openOuterLinkInNewTab", false);
|
|||||||
pref("extensions.treestyletab.openAnyLinkInNewTab", false);
|
pref("extensions.treestyletab.openAnyLinkInNewTab", false);
|
||||||
pref("extensions.treestyletab.link.invertDefaultBehavior", true);
|
pref("extensions.treestyletab.link.invertDefaultBehavior", true);
|
||||||
pref("extensions.treestyletab.urlbar.loadDifferentDomainToNewTab", true);
|
pref("extensions.treestyletab.urlbar.loadDifferentDomainToNewTab", true);
|
||||||
|
pref("extensions.treestyletab.urlbar.loadDifferentDomainToNewTab.asChild", false);
|
||||||
pref("extensions.treestyletab.urlbar.loadSameDomainToNewChildTab", true);
|
pref("extensions.treestyletab.urlbar.loadSameDomainToNewChildTab", true);
|
||||||
pref("extensions.treestyletab.urlbar.invertDefaultBehavior", true);
|
pref("extensions.treestyletab.urlbar.invertDefaultBehavior", true);
|
||||||
pref("extensions.treestyletab.loadDroppedLinkToNewChildTab", false);
|
pref("extensions.treestyletab.loadDroppedLinkToNewChildTab", false);
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
<!ENTITY config.urlbar.caption "Action for entering URI to the location bar">
|
<!ENTITY config.urlbar.caption "Action for entering URI to the location bar">
|
||||||
<!ENTITY config.urlbar.loadDifferentDomainToNewTab "Load into new tab if it is a different website">
|
<!ENTITY config.urlbar.loadDifferentDomainToNewTab "Load into new tab if it is a different website">
|
||||||
|
<!ENTITY config.urlbar.loadDifferentDomainToNewTab.asChild "as a child of the current tab">
|
||||||
<!ENTITY config.urlbar.loadSameDomainToNewChildTab "Load into new child tab if it is the same website">
|
<!ENTITY config.urlbar.loadSameDomainToNewChildTab "Load into new child tab if it is the same website">
|
||||||
|
|
||||||
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Action for drag drop of links or URLs to existing tab">
|
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Action for drag drop of links or URLs to existing tab">
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
<!ENTITY config.urlbar.caption "L'inserimento di un indirizzo nella barra degli indirizzi">
|
<!ENTITY config.urlbar.caption "L'inserimento di un indirizzo nella barra degli indirizzi">
|
||||||
<!ENTITY config.urlbar.loadDifferentDomainToNewTab "Apre una nuova scheda se appartiene a un sito web differente">
|
<!ENTITY config.urlbar.loadDifferentDomainToNewTab "Apre una nuova scheda se appartiene a un sito web differente">
|
||||||
|
<!ENTITY config.urlbar.loadDifferentDomainToNewTab.asChild "as a child of the current tab">
|
||||||
<!ENTITY config.urlbar.loadSameDomainToNewChildTab "Apre una nuova scheda figlia se appartiene allo stesso sito web">
|
<!ENTITY config.urlbar.loadSameDomainToNewChildTab "Apre una nuova scheda figlia se appartiene allo stesso sito web">
|
||||||
|
|
||||||
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Il trascinamento di collegamenti o indirizzi su una scheda esistente">
|
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "Il trascinamento di collegamenti o indirizzi su una scheda esistente">
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
<!ENTITY config.urlbar.caption "ロケーションバーへの入力">
|
<!ENTITY config.urlbar.caption "ロケーションバーへの入力">
|
||||||
<!ENTITY config.urlbar.loadDifferentDomainToNewTab "異なるサイトのURIを新しいタブで開く">
|
<!ENTITY config.urlbar.loadDifferentDomainToNewTab "異なるサイトのURIを新しいタブで開く">
|
||||||
|
<!ENTITY config.urlbar.loadDifferentDomainToNewTab.asChild "現在のタブの子にする">
|
||||||
<!ENTITY config.urlbar.loadSameDomainToNewChildTab "同じサイトのURIを新しい子タブで開く">
|
<!ENTITY config.urlbar.loadSameDomainToNewChildTab "同じサイトのURIを新しい子タブで開く">
|
||||||
|
|
||||||
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "リンクやURLをタブにドラッグ&ドロップした時">
|
<!ENTITY config.loadDroppedLinkToNewChildTab.caption "リンクやURLをタブにドラッグ&ドロップした時">
|
||||||
|
Loading…
Reference in New Issue
Block a user