Show or hide a toolbar
browser_set_toolbar_visibilityShows or hides an entire Firefox toolbar, such as the bookmarks toolbar or menu bar, applying the change immediately. Use it to toggle toolbar visibility rather than moving individual widgets.
Instructions
Show or hide a whole toolbar such as the bookmarks toolbar or the menu bar (CustomizableUI.setToolbarVisibility, which applies immediately). This is coarser than browser_set_toolbar_widget, which moves individual widgets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolbar | Yes | Toolbar id, e.g. "PersonalToolbar" (bookmarks) or "toolbar-menubar" | |
| visible | Yes | true to show, false to hide |