title: Refused to load the script
body: <p>I am getting the following errors in Chrome. There are some similar posts describing this issue, but I could not fix it in my application:</p>
  
  <blockquote>
    <p>Refused to load the script '<a href="https://maps.google.com/maps/api/js?v=3" rel="nofollow noreferrer">https://maps.google.com/maps/api/js?v=3</a>'
    because it violates the following Content Security Policy directive:
    "script-src 'self' 'unsafe-inline' <a href="https://www.google.com/jsapi" rel="nofollow noreferrer">https://www.google.com/jsapi</a>
    <a href="https://ajax.googleapis.com" rel="nofollow noreferrer">https://ajax.googleapis.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow noreferrer">https://ssl.google-analytics.com</a>".</p>
    
    <p>Refused to load the script '<a href="https://vjs.zencdn.net/4.5/video.js" rel="nofollow noreferrer">https://vjs.zencdn.net/4.5/video.js</a>'
    because it violates the following Content Security Policy directive:
    "script-src 'self' 'unsafe-inline' <a href="https://www.google.com/jsapi" rel="nofollow noreferrer">https://www.google.com/jsapi</a>
    <a href="https://ajax.googleapis.com" rel="nofollow noreferrer">https://ajax.googleapis.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow noreferrer">https://ssl.google-analytics.com</a>".</p>
    
    <p>Refused to load the script
    '<a href="https://ws.sharethis.com/api/getCount2.php?cb=stButtons.processCB&amp;refDomain" rel="nofollow noreferrer">https://ws.sharethis.com/api/getCount2.php?cb=stButtons.processCB&amp;refDomain</a>'
    because it violates the following Content Security Policy directive:
    "script-src 'self' 'unsafe-inline' <a href="https://www.google.com/jsapi" rel="nofollow noreferrer">https://www.google.com/jsapi</a>
    <a href="https://ajax.googleapis.com" rel="nofollow noreferrer">https://ajax.googleapis.com</a> <a href="https://ssl.google-analytics.com" rel="nofollow noreferrer">https://ssl.google-analytics.com</a>".</p>
  </blockquote>
  
  <p>I don't have any specific meta for the page. I have also linked all my javascript libraries in the main html as you see below.</p>
  
  <pre><code>    &lt;script type="text/javascript" src="js/three.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/Projector.js"&gt;&lt;/script&gt;      
      &lt;script type="text/javascript" src="js/ColladaLoader.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/Detector.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/OrbitControls.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/tween.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/stats.min.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/jquery-1.11.2.min.js"&gt;&lt;/script&gt;
      &lt;script type='text/javascript' src='js/dat.gui.min.js'&gt;&lt;/script&gt;
      &lt;link rel="stylesheet" href="css/demo.css" type="text/css"&gt;
      &lt;link rel="stylesheet" href="css/zTreeStyle/zTreeStyle.css" type="text/css"&gt;
      &lt;script type="text/javascript" src="js/jquery.ztree.core-3.5.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/jquery.ztree.excheck-3.5.js"&gt;&lt;/script&gt;
      &lt;link type="text/css" rel="stylesheet" href="css/style.css" /&gt;  
      &lt;script src="https://maps.google.com/maps/api/js?v=3"&gt;&lt;/script&gt;
      &lt;link type="text/css" rel="stylesheet" href="css/jquery-ui.css"&gt;
      &lt;script src="js/jquery-ui.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;var switchTo5x=true;&lt;/script&gt;
      &lt;script type="text/javascript" src="js/buttons.js"&gt;&lt;/script&gt;
      &lt;script type="text/javascript"&gt;stLight.options({publisher: "0aab9c2b-5a08-4c08-bfeb-6fdc7756ab6d", doNotHash: false, doNotCopy: false, hashAddressBar: false});&lt;/script&gt;
      &lt;link href="https://vjs.zencdn.net/4.5/video-js.css" rel="stylesheet"&gt;
      &lt;script src="https://vjs.zencdn.net/4.5/video.js"&gt;&lt;/script&gt;
      &lt;style type="text/css"&gt;.vjs-default-skin .vjs-control-bar { font-size: 89% }&lt;/style&gt;
      &lt;script type="text/javascript"&gt;$(document).ready(function(){$.fn.zTree.init($("#treeDemo"), setting, zNodes);});&lt;/script&gt;
  ....
  </code></pre>