In Firefox, is there a way to open the add-on's own options page within about:addons
through a button in the add-on? (Not just the options.html page by itself, but within the about:addons
page, the same one that you can get to when pressing "more" beside the description of the add-on).
I got this:
function OpenOptionsMenu() {
browser.tabs.create({
url: "???"
});
But, I have no idea what to put as the URL.
I found this: browser.runtime.getURL('/options.html')
, but that will only get the options page by itself.