⌨️ 键盘按键码查询JavaScript Keycode Tester
按下任意键,查看 event.key、event.code、keyCode 和修饰键状态,前端开发必备。Press any key to see event.key, event.code, keyCode and modifier states.
使用说明与常见问题How-to & FAQ
「键盘按键码查询」是什么?What is the JavaScript Keycode Tester?
按下任意键,查看 event.key、event.code、keyCode 和修饰键状态,前端开发必备。Press any key to see event.key, event.code, keyCode and modifier states.
如何使用「键盘按键码查询」?How do I use the JavaScript Keycode Tester?
在「键盘按键码查询」中,无需输入或设置:打开页面后结果会自动显示在上方并实时刷新;点击右上角「English」可切换为英文界面。In the JavaScript Keycode Tester: Nothing to enter: open the page and the results appear above and refresh live; use the 中文/English button at the top right to switch language.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「键盘按键码查询」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The JavaScript Keycode Tester runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「键盘按键码查询」免费吗?需要注册吗?Is the JavaScript Keycode Tester free? Do I need an account?
「键盘按键码查询」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The JavaScript Keycode Tester is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.