為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.

所有回覆 (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?