title: Error when sending XHR from Chrome Extension to a PHP page: Cross origin requests are only supported for HTTP
body: <p>I want to send an XHR (using GET method) from a Chrome Extension to a PHP page.But when I try to run the code, I get an error:</p>
  
  <pre><code>    "Cross origin requests are only supported for HTTP"
      "XMLHttpRequest Exception 101"
  </code></pre>
  
  <p>The PHP page loads fine when I call it directly in the browser, so being unable to locate the file would not cause the error. 
  Due to these errors I am unable to send data from the extension to the PHP page to store in the database.I have included https://*/ in the manifest.json (under permissions ) of the extension, but it still does not work.</p>
  
  <p>Please let me know how to overcome this error and send the request successfully.</p>
  
  <p>PS: The page on which the extension is running and sending the XHR is a HTTPS page, while the PHP is a HTTP page.Could this be the cause of problem.If yes how to overcome this.</p>