need to package onEngagementLoad as you are not allowed to eval() inside of an extension

This commit is contained in:
2025-07-30 19:31:36 -05:00
parent ae5cd721a8
commit e709879d40
12 changed files with 161 additions and 23 deletions

View File

@@ -6,18 +6,30 @@
"background": {
"service_worker": "service-worker.js"
},
"side_panel": {
"default_path": "src/pages/side-panel/index.html"
},
"side_panel": {
"default_path": "src/pages/side-panel/index.html"
},
"permissions": ["sidePanel", "storage"],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
},
"action": {
"default_icon": "icon.png"
"icons": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"web_accessible_resources": [ {
"matches": [ "*://*/*" ],
"resources": [ "assets/js/*.js", "assets/css/*.css", "assets/svg/*.svg", "assets/png/*.png", "icon.svg", "blob/*" ]
} ]
"web_accessible_resources": [
{
"matches": ["*://*/*"],
"resources": [
"assets/js/*.js",
"assets/css/*.css",
"assets/svg/*.svg",
"assets/png/*.png",
"icon.svg",
"blob/*"
]
}
]
}