我正在开发一个Chrome扩展,我试着根据添加'unsafe-inline‘CSPThere werewarnings when trying to install this extension: Ignored insecure CSP value "'unsafe-inline'" in directive对于参考manifest.json中定义的整个CSF:
"co
display=swap' because it violates the following Content Security Policy directive: "default-src 'self' 'unsafe-inlineua0hzun3' because it violates the following Content Security Policy directive: "default-src 'self' 'unsafe-inlineua
livereload.js' because it violates the following Content Security Policy directive: "script-src https: 'unsafe-inline<meta http-equiv="Content-Security-Policy" content="default-src * 'unsafe-inline'; style-src * 'unsafe-inline</em
Either the 'unsafe-inline' keyword, a hash ('sha256-g6NjhUYDGd6SXSIYkvuQkZhdbtqx8hqNKVM8JKvqpy4='), or' 'unsafe-eval';script-src-elem * 'unsafe-inline' '