openShortcutSettings()

Opens the browser UI that enables users to configure an extension's keyboard shortcuts.

In Firefox, this function opens the Manage Extension Shortcuts option.

Chrome doesn't support this function. In Chrome, chrome://extensions/shortcuts can be opened using the tabs.create function.

Syntax

js
let openedShortcutSettings = browser.commands.openShortcutSettings();

Parameters

None.

Return value

A Promise fulfilled with no arguments if the extension shortcut management interface opens. If the request fails, the promise is rejected with an error message.

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
openShortcutSettings
Chrome – No support
Chrome
footnote No support
Edge – No support
Edge
footnote No support
Firefox – Full support
Firefox 137 (Release date: 2025-04-01)
footnote Full support
Opera – No support
Opera
footnote No support
Safari – No support
Safari
footnote
footnote See bug 289990
Firefox for Android – No support
Firefox for Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote
footnote See bug 289990

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
See implementation notes.