aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 21:46:22 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 21:46:22 -0500
commita065e04d529da1d847b5062a12c46d916408bf32 (patch)
treefe0f8bcec1ff39a3c499a2708222dcf15224ff70 /files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html
parent218934fa2ed1c702a6d3923d2aa2cc6b43c48684 (diff)
downloadtranslated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.gz
translated-content-a065e04d529da1d847b5062a12c46d916408bf32.tar.bz2
translated-content-a065e04d529da1d847b5062a12c46d916408bf32.zip
update based on https://github.com/mdn/yari/issues/2028
Diffstat (limited to 'files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html')
-rw-r--r--files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html12
1 files changed, 0 insertions, 12 deletions
diff --git a/files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html b/files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html
deleted file mode 100644
index 2f57e03212..0000000000
--- a/files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html
+++ /dev/null
@@ -1,12 +0,0 @@
----
-title: browser.urlbar.trimURLs
-slug: Mozilla/Preferences/Preference_reference/browser.urlbar.trimURLs
-translation_of: Mozilla/Preferences/Preference_reference/browser.urlbar.trimURLs
----
-<p><code>browser.urlbar.trimURLs</code> 控制是否隐藏地址栏中域名<code>前面的http</code>协议字段和域名后面紧跟的斜杠 (前提是地址栏中的域名必须是当前网页的域名) .</p>
-<ul style="display: table; padding: 0; border-left: 2px solid; margin-left: 0.5em;"> <li style="display: table-row; padding: 3px; margin: 0;"><dfn>类型:</dfn><code>boolean</code></li> <li style="display: table-row; padding: 3px; margin: 0;"><dfn>默认值: </dfn> <code>true</code></li> <li style="display: table-row; padding: 3px; margin: 0;"><dfn>默认已存在:</dfn> yes</li> <li style="display: table-row; padding: 3px; margin: 0;"><dfn>支持版本:</dfn>Firefox 7.0</li> <li style="display: table-row; padding: 3px; margin: 0;"><dfn>状态:</dfn> Active; last updated 2012-04-03</li> <li style="display: table-row; padding: 3px; margin: 0;"><dfn>介绍:</dfn> Pushed to Nightly on 2011-06-23</li> <li style="display: table-row; padding: 3px; margin: 0;"><dfn>Bugs:</dfn> {{ bug("665580") }}</li>
-</ul>
-<h2 id="值">值</h2>
-<dl> <dt><code>true</code> (默认值)</dt> <dd>如果地址栏中的域名确实是当前网页的域名,那么顶级域名后面紧跟的斜杠会被隐藏.如果地址栏中的网址是以 <code>http://</code> 协议开头且域名不以<code>ftp.</code> subdomain开头,也不包含<code>@</code> (通常是ftp登陆信息)符号, 则这个<code>http://</code> 前缀会被隐藏.<br> <br> 例如: <code><a class=" link-https" href="https://www.example.org/" rel="freelink">https://www.example.org/</a></code> 会显示为 <code><a class=" link-https" href="https://www.example.org" rel="freelink">https://www.example.org</a></code>, <code><a class=" external" href="http://www.example.org/foobar" rel="freelink">http://www.example.org/foobar</a></code> 会显示为 <code>www.example.org/foobar</code>  <code><a class=" external" href="http://ftp.example.org/foobar" rel="freelink">http://ftp.example.org/foobar</a></code> 保持不变.</dd> <dt><code>false</code></dt> <dd>显示完整的URL.</dd>
-</dl>
-<p>{{ languages( { "en": "en/Mozilla/Preferences/Preference_reference/browser.urlbar.trimURLs" } ) }}</p>