How to directly link to the Firefox Add-On Keyboard Shortcuts page

213 Views Asked by At

I am building a WebExtension on Chrome and Firefox which performs task X, Y and Z through a popup (browser_action).

I would like to allow users to trigger X, Y and Z through keyboard shortcuts using the commands API. Keyboard shortcuts must be configured directly in the browser (as opposed to your own extension's settings page) to prevent overlap of shortcuts across multiple extensions.

On Chrome I can link directly to the keyboard shortcuts page, from my extension's settings page, using this method:

chrome.tabs.update({ url: 'chrome://extensions/shortcuts' });

For Firefox, I have to go to about:addons and then click on the gear icon in the top right and then click Manage Extension Shortcuts. This is not very straightforward IMO and I would prefer to be able to link directly to this page.

Is there a fixed url I can use to navigate directly to the keyboard shortcuts page in Firefox?

0

There are 0 best solutions below