Search code examples
javascriptbrowserkeyboarddom-events

Extend browsers to handle Apple keyboard events


Is there any way to extend browsers (e.g., Google Chrome) to handle input events from non-standard keyboards? Consider an Apple keyboard, there are special keys like Play/Pause (usually on F8). Can we capture inputs from those keys?


Solution

  • Similar question here: Capture media key events in a browser

    These keys do not fire events in browsers, but there is an extension for Chrome which seems to add this functionality: http://smus.com/chrome-media-keys/