From a065e04d529da1d847b5062a12c46d916408bf32 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 21:46:22 -0500 Subject: update based on https://github.com/mdn/yari/issues/2028 --- .../preference_reference/browser.urlbar.trimurls/index.html | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html (limited to 'files/zh-cn/mozilla/preferences/preference_reference/browser.urlbar.trimurls/index.html') 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 ---- -

browser.urlbar.trimURLs 控制是否隐藏地址栏中域名前面的http协议字段和域名后面紧跟的斜杠 (前提是地址栏中的域名必须是当前网页的域名) .

- -

-
true (默认值)
如果地址栏中的域名确实是当前网页的域名,那么顶级域名后面紧跟的斜杠会被隐藏.如果地址栏中的网址是以 http:// 协议开头且域名不以ftp. subdomain开头,也不包含@ (通常是ftp登陆信息)符号, 则这个http:// 前缀会被隐藏.

例如: https://www.example.org/ 会显示为 https://www.example.org, http://www.example.org/foobar 会显示为 www.example.org/foobar  http://ftp.example.org/foobar 保持不变.
false
显示完整的URL.
-
-

{{ languages( { "en": "en/Mozilla/Preferences/Preference_reference/browser.urlbar.trimURLs" } ) }}

-- cgit v1.2.3-54-g00ecf