Chrome URLs

From MozillaZine Knowledge Base
Jump to navigationJump to search

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

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
Add-ons chrome://mozapps/content/extensions/extensions.xul
Library chrome://browser/content/places/places.xul
Firefox 1.5: chrome://browser/content/bookmarks/bookmarksManager.xul
Bookmark Panel chrome://browser/content/bookmarks/bookmarksPanel.xul
History Panel chrome://browser/content/history/history-panel.xul
Downloads chrome://mozapps/content/downloads/downloads.xul
Clear Private Data chrome://browser/content/sanitize.xul
Saved Passwords chrome://passwordmgr/content/passwordManager.xul
Error Console chrome://global/content/console.xul
DOM Inspector chrome://inspector/content/inspector.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 its ID.

See Also

External Links