Files
Oliver Dunk 8a4c25dde6 Update dictionary sample to use sidePanel.open() (#1087)
* Update dictionary sample to use sidePanel.open()

Updates the dictionary side panel example to use the
sidePanel.open() API. This means we are also able to demonstrate
a way of safely passing data to the side panel without hitting
any race conditions.

* Address feedback
2024-02-20 09:58:30 +00:00

18 lines
410 B
JSON

{
"name": "Dictionary side panel",
"version": "0.1",
"manifest_version": 3,
"description": "Provides definitions in the side panel.",
"background": {
"service_worker": "service-worker.js"
},
"icons": {
"128": "images/icon-128.png",
"16": "images/icon-16.png"
},
"side_panel": {
"default_path": "sidepanel.html"
},
"permissions": ["sidePanel", "contextMenus", "storage"]
}