This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Open Firefox window frame only (no toolbar, menus, etc.) from the command line and keep running the zoom function of the page with CTRL + mouse wheel.

more options

Having the need to open a browser html page without menus, button bars, ..., but only with the window frame, I found a solution using the command-line argument [chrome].

So in Windows 7 using the system option RUN I ran the following command: C:\Program Files\Mozilla Firefox\firefox.exe-chrome http://localhost/Pgina1.html

Actually the html page opens with only frame of the browser window and the links in it work. Unfortunately it does not work anymore is resizing page content through the combined action CTRL + [mouse wheel]. It is possible to restore it, even by exploiting other command-line arguments?

Thanks.

Having the need to open a browser html page without menus, button bars, ..., but only with the window frame, I found a solution using the command-line argument [chrome]. So in Windows 7 using the system option RUN I ran the following command: C:\Program Files\Mozilla Firefox\firefox.exe-chrome http://localhost/Pgina1.html Actually the html page opens with only frame of the browser window and the links in it work. Unfortunately it does not work anymore is resizing page content through the combined action CTRL + [mouse wheel]. It is possible to restore it, even by exploiting other command-line arguments? Thanks.

All Replies (3)

more options

MDN doesn't mention -chrome being used for ordinary web pages: https://developer.mozilla.org/docs/Mozilla/Command_Line_Options#Chrome

When I use

firefox.exe -chrome about:permissions

I get a usable window, but zoom doesn't work as you noted.

How about using an intermediate page and window.open() for the target page? You can (mostly) restrict the chrome of windows opened that way, but it will leave behind the intermediate window...

https://developer.mozilla.org/docs/Web/API/Window.open

more options

Thank you for your reply. Unfortunately I had already heard the way you proposed (window.open ()), but it did not solve my problem. Actually I do not have to use the option-chrome with ordinary web pages, but I need to present the user with a web application without outside chrome that distract attention from the application interface, or unintentionally closed the application because it closes the browser for other reasons. (!!! I apologize for my English)

more options

There are a number of "kiosk" extensions on the Add-ons site. Maybe one of them will do what you need?