[android-components](../../index.md) / [mozilla.components.concept.toolbar](../index.md) / [Toolbar](index.md) / [addBrowserAction](./add-browser-action.md)

# addBrowserAction

`abstract fun addBrowserAction(action: `[`Action`](-action/index.md)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/concept/toolbar/src/main/java/mozilla/components/concept/toolbar/Toolbar.kt#L85)

Adds an action to be displayed on the right side of the toolbar in display mode.

Related:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/user_interface/Browser_action

