更新时间:2023-12-05 19:52:16
我的扩展也遇到了同样的问题,我相信在我将它添加到清单文件后它已经解决了.
I had the same exact problem with an extension of mine, I believe it was fixed after I added this to the manifest file.
manifest.json
manifest.json
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'"
更多信息:http://developer.chrome.com/extensions/contentSecurityPolicy.html.