# Add button to toolbar/addressbar?

**URL:** <https://discourse.mozilla.org/t/add-button-to-toolbar-addressbar/138868>\
**Category:** Development\
**Created:** [January 11, 2025, 11:45am UTC](https://discourse.mozilla.org/t/add-button-to-toolbar-addressbar/138868 "2025-01-11T11:45:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Offerel1](https://avatars.discourse-cdn.com/v4/letter/o/91b2a8/32.png) [@Offerel1](https://discourse.mozilla.org/u/Offerel1)\
**Post date:** [January 11, 2025, 11:45am UTC](https://discourse.mozilla.org/t/add-button-to-toolbar-addressbar/138868/1 "2025-01-11T11:45:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![dotproto](https://sea1.discourse-cdn.com/flex001/user_avatar/discourse.mozilla.org/dotproto/32/62957_2.png) [@dotproto](https://discourse.mozilla.org/u/dotproto)\
**Post date:** [January 22, 2025, 10:56pm UTC](https://discourse.mozilla.org/t/add-button-to-toolbar-addressbar/138868/2 "2025-01-22T22:56:09Z")

</div>

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.
