From 310fd066e91f454b990372ffa30e803cc8120975 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 12:56:40 +0100 Subject: unslug zh-cn: move --- files/zh-cn/chrome/index.html | 70 ------------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 files/zh-cn/chrome/index.html (limited to 'files/zh-cn/chrome/index.html') diff --git a/files/zh-cn/chrome/index.html b/files/zh-cn/chrome/index.html deleted file mode 100644 index a40b228f6b..0000000000 --- a/files/zh-cn/chrome/index.html +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: Chrome -slug: Chrome -tags: - - Toolkit API -translation_of: Glossary/Chrome -translation_of_original: Chrome ---- -

Chrome 这个单词在 Mozilla 的技术中有着多重含义。

-
-
- Browser chrome / Chrome
-
- "browser chrome" 或者直接 Chrome 可以用来指代围绕着普通网页区域的浏览器界面,它对应的词是 content ,表示网页区域.
-
- 更通用点讲, chrome is the entirety of entities making up the user interface of a specific application or extension.
-
-  chrome:// URL
-
- An URL using the chrome:// protocol. Code loaded from a chrome URL has extended, or - - chrome - , privileges.
-
- XUL-based applications load the code for their interface from chrome:// URLs.
-
- Chrome 特权
-
- 拥有 chrome 特权的代码可以实现各种事情, 而普通网页中的 JS 代码则不是。
-
- window.open 方法的 chrome 参数
-
- 将 chrome 参数传给 window.open 能够打开一个没有多余浏览器界面元素(工具栏、地址栏等)的新窗口.
-
- chrome 文件夹
-
- profile 根目录中的 chrome 文件夹通常是用来存放 userChrome.js 扩展需要加载的 js 脚本
-
- -chrome 命令行参数
-
- Starts the application and opens the specified XUL file in a top level window. E.g. mozilla -chrome chrome://inspector/content starts the DOM Inspector.
-
- Chrome 包
-
- A - - chrome package - consists of a set of - - chrome providers - . There are three basic types of chrome providers: -
    -
  • Content. Content can consist of any file type viewable from within Mozilla. In particular, the content provider most often consists of a set of XUL, JavaScript and XBL binding files.
  • -
  • Locale. Translations for multi-language support. The two main types of files are DTD files and java-style properties files.
  • -
  • Skin. The skin provider provides complete appearance data for the user interface. Consisting of CSS files and images.
  • -
-
-
-
-
- chrome.rdf
-
- The chrome registry, stores the list of registered chrome packages and other information. It was located in the install directory and in the profile. It is no longer used since Gecko 1.8 (Firefox 1.5).
-
-

相关链接

-

(Note that while both of the documents below mention contents.rdf files, an easier way of registering your chrome providers - using Chrome Manifests - is supported since Firefox 1.5 / Toolkit 1.8)

- -- cgit v1.2.3-54-g00ecf