title: browser console outputs XMLHttpRequest cannot load
body: <p>Page fails to send xmlhttprequest. Chrome console shows </p>
  
  <blockquote>
    <p>XMLHttpRequest cannot load www.XXX.
    Cross origin requests are only supported for protocol schemes: http,
    data, chrome, chrome-extension, https, chrome-extension-resource.</p>
  </blockquote>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      function LoadFinance() {
          $(function() {
              var url = "www.XXX";
              $.getJSON( url,
                 function(json){
                    console.log(json);
                 });
          });
       }
  
  
      setInterval( LoadFinance, 5000 ); &lt;!--5s--&gt;
  
  &lt;/script&gt;
  </code></pre>