简体   繁体   English

Chrome应用全屏问题

[英]Chrome App Full Screen Issue

I'm working on a Chrome app that uses the webview, so right now I have it open my url in the the window without the url bar and buttons ect. 我正在使用使用Webview的Chrome应用程序,因此,现在我将其在窗口中打开我的网址,而没有网址栏和按钮等。 So it loads the page in full screen. 因此,它将全屏加载页面。 What I'm wondering is it possible to disable certain key presses from exiting the full screen. 我想知道是否有可能禁止某些按键退出全屏。 For example if you press esc or alt tab or the windows/mac key it allows you to access other things going on in the background anyway to disable this? 例如,如果您按esc或alt标签或Windows / mac键,它仍然允许您访问在后台进行的其他操作以禁用此功能? I need to try to make it secure so only by possible entering a password you can get out of the webview. 我需要尝试确保它的安全性,因此只有通过输入密码才能退出Web视图。 This is going to be for people to take quizzes on so I don't want them to be able to access outside resources when doing there quiz. 这将是人们要进行的测验,所以我不希望他们在进行测验时能够访问外部资源。 Any help would be great or if I need to go in a different direction. 任何帮助都会很棒,或者如果我需要朝另一个方向发展。

For now, consider using a chromebook in kiosk mode with a kiosk app . 目前,请考虑在信息亭模式下chromebook信息亭应用一起使用

In non kiosk mode, full access to keyboard (locking a user into an app) is not possible today. 在非信息亭模式下,今天无法完全访问键盘(将用户锁定到应用程序中)。 There has been some discussion (internal to the team at least) regarding how to support this for the use cases of eg remote desktop viewers (want to send all keystrokes to the remote computer). 关于如何为例如远程桌面查看器(希望将所有击键发送到远程计算机)的用例提供支持的讨论(至少在团队内部)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM