Google Chrome: Refused to Execute Inline script
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In light of change in chrome's content security policy, I have moved all the script in separate files and referencing them in html pages (background and popup) for my chrome extension. But I still get the following message Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:". This is my background page <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="background.js"></script> </head> <!--