Chrome URLs in Mozilla and Mozilla Firefox

Every once in a while, someone asks how to open the JavaScript Console in a browser tab, or how to make a shortcut that opens the Bookmark Manager. Here are the chrome:// URLs you need.

To make a shortcut, use the -chrome switch, like this: firefox.exe -chrome chrome://browser/content/bookmarks/bookmarksManager.xul. If you leave out the -chrome switch, the Bookmark Manager (etc) will be inside a browser window.

To open one of these in a browser tab, just enter the URL into the address bar. Chrome URLs can be bookmarked like any other type of URL. Opening these chrome URLs in browser tabs is not supported, so don't be surprised if you encounter bugs.

Mozilla Firefox:

prefs chrome://browser/content/pref/pref.xul
privacy prefs 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
download panel chrome://browser/content/downloads/downloadPanel.xul
javascript console chrome://global/content/console.xul
master password chrome://pippki/content/pref-masterpass.xul

Mozilla Seamonkey (suite):

mail chrome://messenger/content/messenger.xul
(Does not work well)
chatzilla chrome://chatzilla/content/chatzilla.xul
(Does not work well)
prefs chrome://communicator/content/pref/pref.xul
(Also works in Firefox until bug 221602 is fixed)
history window chrome://communicator/content/history/history.xul
(Also works in Firefox until bug 221602 is fixed)

Update 2004-11-30: This entry is now duplicated at MozillaZine Knowledge Base: Chrome URLs. The Knowledge Base entry may be more up-to-date than this blog entry.

9 Responses to “Chrome URLs in Mozilla and Mozilla Firefox”

  1. Phillip Says:

    Having the JS console in a tab seems the most useful of these, but the title is not properly set.

    What about a chrome url for view source? I know there is a bug open for opening view source in a tab.

  2. Jesse Ruderman Says:

    I just added the chrome URL for changing the master password in Firebird.

  3. oleg Says:

    does anyone know if there exsists a chrome url for view source?

  4. sewer_monkey Says:

    Same as IE: view-source:URL

  5. Greg (might be a spammer) Says:

    Didn’t work for me… Anyone knows of a good beginners book of Java Script ?

  6. Jesse Ruderman Says:

    I added the chrome URL for the history window (thanks Renee!) and changed “Firebird” to “Firefox”.

  7. hao2lian Says:

    For future reference:
    chrome://browser/content/pref/pref-features-images.xul

  8. z3r0 Says:

    I can’t get the master password setting, “When to prompt” to stick. It’s default as “not checked” and I can’t change it. What do I do?

  9. jono Says:

    i notice an infection by one celled organisms. the vector is presumably some kind of blogbot.

    the stupidity of machines, while less than that of moulds, slimes & bacteria, is nevertheless significant.

    im interested in machine learning, & have been very relieved to see bayesian analysis applied to the problem of filtering spam. i also kno that some web servers block hits from connections that exhibit robotic (regular, repetitive, systematic) behaviour.

    the likes of ‘sex porn’, ‘discount adipex’, ‘Buy Cialis Online’ & ‘footjob handjob’, while obviously thoughtful & creative biofilms, wld be worthy target species for a blogspam filter. any ideas?

    like how about a distributed p2p system that analyses data provided by servers on timing, content & frequency of blog entries & returns info to the originating servers. maybe the src ip cld be masked using some kind of hash?

    anyway, once the blogspambots are identified, the system automatically distributes the originating ip, & if it has ports open, they are subjected to a relentless dos attack.

    whaddya think?