MozillaZine

Chrome URLs

From MozillaZine Knowledge Base

(Difference between revisions)
Revision as of 15:17, 4 December 2005
Hao2lian (Talk | contribs)

<-- Previous diff
Revision as of 08:56, 6 June 2006
Asqueella (Talk | contribs)
("it's" -> "its")
Next diff -->
Line 1: Line 1:
-To overlay an existing XUL element, you first need the URL of it's chrome.+To overlay an existing XUL element, you first need the URL of its chrome.
==Firefox Only== ==Firefox Only==
{| border="1" cellpadding="5" rules="all" {| border="1" cellpadding="5" rules="all"

Revision as of 08:56, 6 June 2006

To overlay an existing XUL element, you first need the URL of its chrome.

Contents

Firefox Only

Function URL
Main Window chrome://browser/content/browser.xul
Options chrome://browser/content/pref/pref.xul
Firefox 1.5: chrome://browser/content/preferences/preferences.xul
Privacy Options chrome://browser/content/pref/pref-privacy.xul
Firefox 1.5: N/A
Bookmark Manager chrome://browser/content/bookmarks/bookmarksManager.xul
Bookmark Panel chrome://browser/content/bookmarks/bookmarksPanel.xul
History Panel chrome://browser/content/history/history-panel.xul
Javascript Console chrome://global/content/console.xul
Master Password chrome://pippki/content/pref-masterpass.xul
Download Manager chrome://mozapps/content/downloads/downloads.xul


Firefox Help Links

Function URL
Mozilla Firefox Help chrome://help/locale/firefox_welcome.xhtml
Using the Help Window chrome://help/locale/welcome.xhtml
Using Mozilla Firefox chrome://help/locale/using_firebird.xhtml
Using the Download Manager chrome://help/locale/download_manager.xhtml
Customization chrome://help/locale/customization.xhtml
Options (Preferences) chrome://help/locale/prefs.xhtml
Controlling Popups chrome://help/locale/popup.xhtml
Managing Cookies chrome://help/locale/cookies.xhtml
Tabbed Browsing chrome://help/locale/tabbed_browsing.xhtml
Keyboard Shortcuts chrome://help/locale/shortcuts.xhtml
Mouse Shortcuts chrome://help/locale/mouse_shortcuts.xhtml
Menu Reference chrome://help/locale/menu_reference.xhtml
Help for Internet Explorer Users chrome://help/locale/forieusers.xhtml
Glossary chrome://help/locale/glossary.xhtml

Mozilla Suite Only

Function URL
Mail & News chrome://messenger/content/messenger.xul
Chatzilla chrome://chatzilla/content/chatzilla.xul
Calendar chrome://calendar/content/calendar.xul
Preferences chrome://communicator/content/pref/pref.xul
History Window chrome://communicator/content/history/history.xul

Using the chrome URL

Once you've got your chrome URL you can load it (by typing it in the location bar), and use the DOM inspector's click to select tool to locate the element and get it's ID.

See Also

External Links