@violentmonkey/shortcut Playground

Version: {{version}}

Triggering a Shortcut

Declare your shortcuts here: (one sequence in a line)
Current sequence:
You just triggered !
Try to trigger a shortcut sequence declared above.

Inspecting a Key

Press a key to see how it is represented.


Case Insensitive:
  • (event.key)
  • (event.code)
Case Sensitive:
VM.shortcut.register({{ JSON.stringify(keyExpCI) }}, callback);
// or
VM.shortcut.register({{ JSON.stringify(keyExpCICode) }}, callback);
VM.shortcut.register({{ JSON.stringify(keyExpCS) }}, callback, {
  caseSensitive: true,