Mobile support seems to be rather limited in both the Add-on SDK and WebExtensions - the way I read it not a single API to integrate your extension into the browser UI is supported. Add-on SDK at least supports opening new tabs even though it’s not clear how one would trigger this action, Web Extensions don’t even support that. So, what are the options when a mobile add-on needs the user to trigger some actions?
- Write a classic bootstrapped add-on: bad idea, these are deprecated and will stop working eventually.
- Use Add-on SDK and user
require("chrome")
in order to implement a page action: not really future-proof either. - Inject add-on UI into all webpages: very bad idea, opens the extension to all kinds of clickjacking and spoofing attacks.
Anything I am missing?