How can i add a button to the addressbar or toolbar, so that i can access the popup with a single click? I have tried with pageAction
, but this didn’t work. I can see the button set with browser.pageAction
not on Android, only on the Desktop.
Due to the limited screen space on Android, it’s not possible to expose an extension’s action, page action, or browser action such that a user can invoke the action with a single tap. Currently, to trigger an extension’s action you must tap the Firefox menu icon, tap Extensions, and finally tap the extension you want to invoke.
While there’s no way for users to work around this, developers can use a content script to inject UI into web pages in order to make their extensions easier for a user to Be aware that this approach requires broad site access, which web browsers generally discourage, and the extension may not work as expected if/when browsers limit site access grants at install time.