如何调试:
找到相应的图标, 右键 审查元素, 找到Console 会看到红色的调试信息
以上这个信息是因为Chrome因为安全机制不允许popu.html等静态文件直接包含js代码,必须用
<script src=”jquery.js”></script>的方式来间接的导入js代码才可以.
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src ‘self’ chrome-extension-resource:".