I have an addon using simple-prefs. The addon modifies some webpages using PageMod.
I would like to add a link to these webpages, that will open the addon options. Basically, what I need, is a Firefox version of chrome.extension.getURL('options.html'); used in Chrome.
I have tried some old methods. For example using URL like this: addons://detail/ADDON_ID/preferences. Or this method from official documentation. But none of them seem to work.
How do I do that? Is it even possible?
simple-prefsmodule.