Created
March 1, 2025 12:06
-
-
Save deevroman/77b7c727db8b22b626a93c0f7056d503 to your computer and use it in GitHub Desktop.
Key tester
This file contains hidden or 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
| // ==UserScript== | |
| // @name Key tester | |
| // @grant GM_info | |
| // @match https://www.openstreetmap.org/* | |
| // @run-at document-end | |
| // ==/UserScript== | |
| (() => { | |
| document.addEventListener('keydown', (e) => { | |
| alert(e.code); | |
| }, false); | |
| })() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment