阅读背景:

Refused to execute inline event handler because it violates the following Content Security Policy directive: "xxx". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...')

来源:互联网 
/*********************************************************************************
* Refused to execute inline event handler because it violates the following Content Security Policy directive: "xxx". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
 * 说明:
 *     主要是没想到Chrome扩展的HTML中不能添加事件,只能在JS中动态添加。
 *
 *                                              2018-4-10 深圳 宝安西乡 曾剑锋
 ************************************************************************************************************************



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: