在Chrome扩展程序中以后台脚本动态加载脚本文件

时间:2016-11-27 23:06:53

标签: javascript jquery google-chrome-extension

我已经通过manifest.json加载了jQuery,现在我希望能够动态加载其他本地脚本(如果需要)。

我试过以下

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem: chrome-extension-resource:". Either the 'unsafe-inline' keyword, a hash ('sha256-JNPQ...'), or a nonce ('nonce-...') is required to enable inline execution.

但它给出了这个错误

Delegate.Combine()

我怎样才能满足它的要求?

0 个答案:

没有答案
相关问题