A callback to be executed when the shortcutKeys are pressed.
A human-readable description of the shortcut.
A unique id for the shortcut.
A unique combination of keys to be pressed to trigger the shortcut, or null if representing an empty shortcut.
The string is expected to be in the following format: [0-3 modifiers]+[single alphanumeric char OR keycode]
.
Supported modifiers:
A
- Alt
C
- Control
or Meta
S
- Shift
A keyboard shortcut for userscript action.