更新时间:2023-12-05 19:47:40
我对我的扩展名有完全相同的问题,我相信在将其添加到清单文件后,该问题已得到解决.
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 .