Firefox – Launching Firefox into “chromeless” mode from command prompt

command linefirefox

Does anyone know if there is a way to launch Firefox (3.*) into "chromeless" mode from command prompt?

The end result I am striving for should look like one of those "chromeless" windows that can be created via the window.open Javascript call. However, I would like the initial Firefox window to be "chromeless" right away. I went through the online documentation of Firefox but failed to find anything relevant.

Does this ring a bell for anyone?

Best Answer

You could create a separate profile in Firefox for your "chromeless mode." To do that open the profile manager:

"\Program Files\Mozilla Firefox\firefox.exe" -ProfileManager

Create a new profile called "Chromeless"

  • Open the profile and hide the navigation and bookmark toolbars.
  • In the Options under Tabs make sure that "Always show the tab bar" is unchecked.
  • Install the Hide Menubar extension to hide the menu bar

Setup a shortcut to launch your new profile:

"\Program Files\Mozilla Firefox\firefox.exe" -no-remote -P Chromeless