Especially during development it’s annoying to reach the options page of a Firefox addon:
- Hamburger
- Addons and Themes
- …
- Options
There should be a faster way. At least for your own Add-ons you can quite easily add an “Options” menu item to the browser
browser.contextMenus.create({
title: 'Options',
contexts: ['browser_action'],
onclick: () => {
browser.runtime.openOptionsPage();
},
});
Additionally to have to add a new permission to the manifest.json file:
"permissions": ["contextMenus"],
That was easy!