create-mellowtel-extension
Version:
Create a new Mellowtel browser extension with one command
35 lines • 975 B
JSON
{
"manifest_version": 3,
"name": "mellowtel-example-wxt",
"description": "Example extension showing how to use Mellowtel with WXT",
"version": "0.0.2",
"permissions": [
"storage",
"declarativeNetRequest",
"tabs",
"scripting"
],
"host_permissions": [
"<all_urls>",
"http://localhost/*"
],
"commands": {
"wxt:reload-extension": {
"description": "Reload the extension during development",
"suggested_key": {
"default": "Alt+R"
}
}
},
"background": {
"service_worker": "background.js"
},
"action": {
"default_title": "Default Popup Title",
"default_popup": "popup.html"
},
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval' http://localhost:3000; object-src 'self';",
"sandbox": "script-src 'self' 'unsafe-inline' 'unsafe-eval' http://localhost:3000; sandbox allow-scripts allow-forms allow-popups allow-modals; child-src 'self';"
}
}