为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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?