forked from novnc/noVNC
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Keyboard Lock API support (Chromium 68+ & HTTPS only)
This enables web browser to capture key combos, e.g., Alt+F4, Alt+Tab, and send it to web page. Limitations: 1) Chromium 68+ only; 2) User should click full screen button inside the webpage. API won't work when toggling full screen via F11 or browser menu. 3) HTTPS instead of HTTP. - https://developer.chrome.com/docs/capabilities/web-apis/keyboard-lock - https://developer.mozilla.org/en-US/docs/Web/API/Navigator/keyboard
- Loading branch information
1 parent
db7bca4
commit eb331de
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters