title: Loading Script Error in Chrome extensions
body: <p>I get this error, but i can not figure out the fix for it:</p>
  
  <blockquote>
    <p>Refused to load the script 'http://api.ustream.tv/json/channel/...' because it violates the following Content Security Policy directive: "script-src 'self' chrome-extension-resource:".</p>
  </blockquote>
  
  <p>Is there any way i can remove this error? Here is my json code.</p>
  
  <pre><code>{
      "manifest_version": 2,
      "name": "COD Television Live Checker",
      "version": "1.0",
      "description": "The Official Crome Extension of CodTelevision.com - Live Checker",
      "browser_action": 
      {
      "default_icon": "icon.png",
      "default_popup": "main.html"
      }
      "permissions": ["http://api.ustream.tv/json/channel/*"]
  }
  </code></pre>
  
  <p>and my html code:</p>
  
  <pre><code>&lt;!DOCTYPE HTML&gt;
  &lt;html&gt; 
  
  &lt;head&gt;
  &lt;script type="text/javascript" src="jquery-latest.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="popup.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;center&gt;&lt;span id="status1"&gt;No Data&lt;/span&gt;&lt;/center&gt;
  
  &lt;/body&gt; 
  &lt;/html&gt; 
  </code></pre>
  
  <p>and finally my javascript:</p>
  
  <pre><code>var query = 'http://api.ustream.tv/json/channel/...';
  jQuery.getJSON(query, function(data) {
      if (data == 'live') {
          document.getElementById("status1").innerText = "LIVE";
      } else {
          document.getElementById("status1").innerText = "OFFLINE";
      }
  });
  </code></pre>