MDN / sidebar_action
MDN / sidebar_action
A sidebar is a pane that is displayed at the left-hand side of the browser window, next to the web page. The browser provides a UI that enables the user to see the currently available sidebars and to select a sidebar to display.
The sidebar_action key enables you to define the default properties for the sidebar. You can change these properties at runtime using the API.
Syntax
The sidebar_action key is an object that may have any of the properties listed below. The only mandatory property is default_panel.
Example
"sidebar_action": {
"default_icon": "sidebar.svg",
"default_title": "My sidebar!",
"default_panel": "sidebar.html"
}
For an example of an extension that uses a sidebar, see annotate-page.