のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2013-01-25から1日間の記事一覧

Refused to evaluate script

Refused to evaluate script because it violates the following Content Security Policy directive: "script-src 'self' https://www.google.com". Eval and related functions are disabled Code like the following does not work: alert(eval("foo.bar.…

Uncaught ReferenceError: google is not defined

load.js google.load("visualization", "1", {packages:["corechart"]}); スクリプトを読む順番がおかしかった。修正前 <head> <link rel="stylesheet" href="style.css" type="text/css"/> <script type="text/javascript" src="js/jquery.min.js"></script> <script type="text/javascript" src="js/common.js"></script> </link></head>

Trailling Comma. 末尾のコンマ

Trailing Comma,

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https://www.google.com".

Error Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' https://www.google.com". SSLを使えば外部SCRIPTを呼ぶことができる。pop.html manifest.json "content_security_polic…

jquery refused to execute inline

CSP error in Chrome 18 when loading jQuery 1.7.1