Comments (2)
This is the differences between the messages on Chrome, as of Beta 68:
I don't think many people will see the difference (if they are used to the old message), or will remember what to do (if they are new to full screen web pages).
from keyboard-lock.
Just as a note on the Chrome implementation from Dominick Ng...
-
It re-shows the "Press and hold [esc] to exit full screen" message when pressing the [esc] key multiple times.
-
An "X" icon/button appears at the top of the screen after holding the [esc] key for 1000ms.
I like the first one, but believe the second should be improved as bit... get it to fade in at 250ms (1 second is far too long), and have it show a progress bar of some kind (so users know something is happening)... something like this rough/ugly screenshot:
That said... I'm still not convinced "webkitRequestFullscreen()" should be callable by the website, I'd much rather have the green dot (on MacOS) and a global shortcut (e.g. ctrl+cmd+F) be the only way to trigger full screen mode (i.e. part of the standard browser UI), where developers can register for a fullscreen event that allows them to specify which element on the page should be made full screen.
And... why do "games, editors, and remote desktop clients" within a web browser specifically need the Esc key... surely even vim can map that one key to something else (this keyboard lock feature basically allows the website developers to choose any other key)... I can't imagine this single key mapping will be so important to developers that it stops them making these things available on the web (I think the use of ctrl/cmd/alt/tab are more relevant).
from keyboard-lock.
Related Issues (20)
- Add a section about ESC processing and encourage locking a subset of keys
- Migration to WebApps WG: Implementor interest? HOT 1
- Mark as CG-DRAFT, move to WICG? HOT 1
- Duplicate definition of Keyboard interface HOT 3
- Still active? HOT 1
- It isn't clear how keyboard shortcuts on <input> and <textarea> should work
- Spec still links to w3c.github.io
- Don't allow capture of "system" keys
- Couple to fullscreen API HOT 1
- Don't allow configurable key overrides
- Issues link points to keyboard-map HOT 1
- Support multiple keyboards
- Regenerate index.html HOT 1
- CTRL+W
- Unlocking only specific keys. HOT 3
- Broken references in Keyboard Lock
- Requirements in notes
- `lock()` steps refer to the wrong promise when rejecting with `AbortError`
- Provide a way to retrieve keys which should be locked
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keyboard-lock.