I'm building a chrome extension and facing a problem related to csp. I'm using manifest V3
below is my csp
"content_security_policy": {
"extension_pages": "script-src 'self' 'unsafe-inline' 'https://cdn.jsdelivr.net/'; object-src 'self'"
}
I'm using alpine.js in my code and wanted to run it. It was running in v2 but I'm not able to get it working in manifest v3.
Thanks
Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
– Neill