Sunday, 27 January 2019

Launching Firefox into “chromeless” mode from command prompt


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?



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

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...