-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keyboard Map API #300
Comments
Masayuki left some comments on bugzilla:
|
Also CC @tomrittervg for feedback on privacy. |
It seems like this API would change an existing vector for fingerprinting that requires user interaction (i.e., requires getting the user to press keys, and then look at the resulting |
Do desktop platforms even expose sufficient information for implementing this API? If we were to require some keyboard user interaction before exposing the proposed API, it's worthwhile to consider what user interaction a game could already ask for. A game could already ask the user to press the key below the key labeled (among other labels) 1 and the key below the key labeled (among other labels) 6, and this would already go a very long way in terms of identifying mainstream layouts globally on a level sufficient for describing gaming key locations for keys that are invariant under locale-specific variation of QWERTY (i.e. you wouldn't be able to accurately describe the keys that on U.S. QWERTY have the labels backtick, slashes, square brackets, semicolon, apostrophe, minus and equals). Maybe it's weird or inelegant for a game to ask the user to press the key below the key labeled (among other labels) 1 and the key below the key labeled (among other labels) 6, but it seems like a rather mild thing to ask when compared with giving this fingerprinting surface to all sites that currently seek to do fingerprinting but where the user generally doesn't input text. (This is the majority of sites that users browse to: The user follows a link, reads stuff without writing anything, and leaves.) So: Why isn't it good enough to ship a JS library that contains enough information about mainstream layouts across the globe to guess the layout (excluding for keys that vary in QWERTY between locales) from the two above-mentioned key presses? |
For clarity: The two mentioned keys are enough to distinguish between QWERTY, AZERTY, QWERTZ, and various mainstream non-Latin layouts. They aren't enough to distinguish locale-specific variants of QWERTY, AZERTY, and QWERTZ. |
Request for Mozilla Position on an Emerging Web Specification
Other information
This is not possible with existing web platform APIs because the value that should be shown to the user depends on the keyboard layouts that the user has installed and active.
Explainer: https://github.com/WICG/keyboard-map/blob/master/explainer.md
The text was updated successfully, but these errors were encountered: