Firefox provides a list of keyboard shortcuts/hotkeys. Most of these can be captured using an addEventListener
and have their default action (e.g. reload the tab) prevented using preventDefault
.
Below is a list of hotkeys that when entered in the web page, either can't be captured with JavaScript and/or will always perform their default action. This means the particular hotkey can't be used for actions inside the web page or rebound by extensions such as SakaKey and Shortkeys.
Currently this list only contains results for Windows 10 and Firefox 64
Default Action | Shortcut |
---|---|
Toggle Menu Bar | Alt |
Default Action | Shortcut |
---|---|
Close Tab (except pinned) | Ctrl + W Ctrl + F4 |
Close Window | Ctrl + Shift + W Alt + F4 |
Exit | Ctrl + Shift + Q |
Cycle Tabs | Ctrl + Tab Ctrl + Shift + Tab Ctrl + Page Up Ctrl + Page Down |
Move Tab | Ctrl + Shift + Page Up Ctrl + Shift + Page Down |
New Tab | Ctrl + T |
New Window | Ctrl + N |