Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

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.

Tất cả các câu trả lời (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?