mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
13 lines
537 B
Markdown
Executable File
13 lines
537 B
Markdown
Executable File
# devtools-panels
|
|
|
|
**Adds a new sidebar to the developer tools inspector.**
|
|
|
|
## What it does
|
|
|
|
This extension adds a new sidebar to the inspector panel.
|
|
It displays the properties of the current selected node in the markup view, using
|
|
`sidebar.setExpression($0)` each time a new node is selected (listener added via
|
|
`browser.devtools.panels.elements.onSelectionChanged`).
|
|
|
|
To learn more about the devtools APIs, see [Extending the developer tools](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Extending_the_developer_tools).
|