开发者

Force Chrome/Firefox into Full Screen?

开发者 https://www.devze.com 2023-02-12 13:41 出处:网络
I want to use chrome to display a full-screen html page for a presentation.You can set chrome to fullscreen mode, but it seems the only way to exit is moving the mouse to the top of the screen and cli

I want to use chrome to display a full-screen html page for a presentation. You can set chrome to fullscreen mode, but it seems the only way to exit is moving the mouse to the top of the screen and clicking:

Force Chrome/Firefox into Full Screen?

I don't want to disable the ability to exit full-screen, I just want to make it so the only way to exit is via pr开发者_高级运维essing the ESC key, not the mouse position. That way basically browser "admin" are the only ones who can get out of the presentation. Is that possible in Firefox or Chrome? Could I write an extension for this if it's not possible?


Using my comment for an Answer:

Chrome implemented 'Kiosk Mode' in version 4.0.245.0. This is, essentially, a way to launch the browser in fullscreen mode with the Address Bar and Status Bar disabled. Some keyboard shortcuts (Fullscreen, for example) are also disabled.

On Windows: chrome.exe -kiosk http://yoursite.com/file.html

On everything else: chromium-browser --kiosk http://yoursite.com/file.html

Note: Use your 'exit program' keyboard combo to kill it.


For firefox, the add-on R-kiosk doea a similar job: https://addons.mozilla.org/en-US/firefox/addon/r-kiosk/

I have used it before and it used to be pretty good for kiosk type applications. Haven't needed it in a while though.

To exit, you need to start firefox in safe mode and disable the add-on, which works very well for kiosk purposes.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号