Open main menu

CDOT Wiki β

Changes

Chrome

128 bytes added, 02:35, 6 October 2006
Chrome URLs
=Chrome in depth=
==Chrome URLs==
To maximize the flexibility, Mozilla introduces a new technology called "Configurable Chrome"(Refer to [http://www.mozilla.org/xpfe/ConfigChromeSpec.html Configurable Chrome] by Benjamin Smedberg <benjamin@smedbergs.us>). A XUL file can be written in such a fashion that its chrome description comes from a mixture of physical sources, either locally, remotely, or a combination of both. An end user may customize her/his configuration to pick up any of the source type from his favor chrome providers.
To achieve this, chrome type URLs must be used to reference external sources; such as CSS files and JavaScript files. The general form of chrome URLs look like this:
1
edit