Chrome extension Error
Unanswered
Netherland Dwarf posted this in #help-forum
Netherland DwarfOP
Hi everyone, I created a Chrome extension but I got an error and I couldn't find anything about it, maybe someone can help me..
The error :
Manifest.json :
The error :
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-Q+8tPsjVtiDsjF/Cv8FMOpg2Yg91oKFKDAJat1PPb2g='), or a nonce ('nonce-...') is required to enable inline execution.Manifest.json :
{
"manifest_version": 3,
"name": "CutTube",
"version": "0.0.1",
"description": "A basic example extension with only required keys",
"action": {
"default_title": "CutTube",
"default_popup": "out/index.html"
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
},
"permissions": ["tabs"]
}1 Reply
Gharial
Same