Chrome URLs: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
Line 62: Line 62:
| Glossary || chrome://help/locale/glossary.xhtml
| Glossary || chrome://help/locale/glossary.xhtml
|}
|}
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.


==Mozilla Suite Only==
==Mozilla Suite Only==
Line 79: Line 77:
| History Window || chrome://communicator/content/history/history.xul
| History Window || chrome://communicator/content/history/history.xul
|}
|}
== Use 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.

Revision as of 01:01, 19 June 2005

See also: Dev : Firefox Chrome URLs.

Stolen from Squarefree:


To overlay an existing XUL element, you first need the URL of it's chrome.

Firefox Only

Function URL
Main Window chrome://browser/content/browser.xul
Options chrome://browser/content/pref/pref.xul
Privacy Options chrome://browser/content/pref/pref-privacy.xul
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

Use 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.