I’m trying to update an older extension that has not been updated in a long time and has been abandoned. The manifest is:
"manifest_version": 3,
"name": "BL photo grabber",
"version": "4.5.14",
"description": "Downloader Bricklink images.",
"icons": {
"128": "/assets/icon128.png",
"48": "/assets/icon48.png",
"16": "/assets/icon16.png"
},
"browser_action": {
"default_icon": "/assets/icon16.png",
"default_popup": "popup.html"
},
"content_scripts": [
{
"matches": [
"*://*.bricklink.com/*"
],
"js": [
"content.js",
"jquery-3.4.1.min.js"
],
"run_at": "document_start"
}
],
"content_security_policy": {
"script-src": 'self',
"object-src": 'self'
}
"storage",
"webRequest",
"downloads",
"*://*.bricklink.com/*"
],
"background": {
"service_worker":"b.js"
}
}
I update the manifest_version": 3
from manifest_version": 2
then fixed the "background": { service_worker":"b.js"
to be compatible with 3 but when I tried to do the same for "content_security_policy": {
i keep getting the Unexpected token error and cant seem to find what is causing it.
Any help?