Hi!
Which is the proper way to implement permissions of using my addon based on hosts/URLS?
Before I was used nsIPermissionManager, but now it is not accessible from background scripts
.
Webextension permissions API manage only specific list of optional_permissions where I can’t add my addon specific functionality (for example printing).
Only option I can see now is to implement custom permission implementation using browser.storage
to be persistent and my own logic and user interface to request/check/grant/reject.
If this is only case are there any good implementations to point them?
Regards,
Dimitar Angelov