mirror of
https://github.com/GoogleChrome/chrome-extensions-samples.git
synced 2026-03-27 13:29:34 +07:00
* Add WebSocket sample This sample demonstrates how to use a websocket in a service worker. * add minimum chrome version * Address comments * add more detail to the readme * make sure glitch instance is booted * fix spelling
15 lines
333 B
JSON
15 lines
333 B
JSON
{
|
|
"name": "WebSocket Demo",
|
|
"description": "How to use WebSockets in your Chrome Extension.",
|
|
"version": "1.0",
|
|
"manifest_version": 3,
|
|
"minimum_chrome_version": "116",
|
|
"action": {
|
|
"default_icon": "icons/socket-inactive.png"
|
|
},
|
|
"background": {
|
|
"service_worker": "service-worker.js",
|
|
"type": "module"
|
|
}
|
|
}
|