Keycode Alert

Shows Keycode of Any key clicked

  1. // ==UserScript==
  2. // @name Keycode Alert
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Shows Keycode of Any key clicked
  6. // @author TTT
  7. // @match *://*/*
  8. // @grant none
  9. // @license MIT
  10. // ==/UserScript==
  11.  
  12. document.addEventListener("keydown", function(event) {
  13. alert("Keycode: " + event.keyCode);
  14. });

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址