title: Chrome extension xhr cross domain request gives error:"is not allowed by Access-Control-Allow-Origin."
body: <p>I cant seem to request this url:
  "https://ajax.googleapis.com/ajax/services/search/web?v=1.0&amp;q=dogs" from my popup.html.</p>
  
  <p>I'm getting:</p>
  
  <p>XMLHttpRequest cannot load <a href="https://ajax.googleapis.com/ajax/services/search/web" rel="nofollow">https://ajax.googleapis.com/ajax/services/search/web</a>?      v=1.0&amp;q=dogs. Origin chrome-extension://nemobemncffjipfgpaffgiigbjhkpden is not allowed by     Access-Control-Allow-Origin.</p>
  
  <p>Here is my manifest:</p>
  
  <pre><code>{
  "name": "My First Extension",
  "version": "1.0",
  "description": "The first extension that I made.",
  "browser_action": {
  "default_icon": "icon.png",
  "popup":"popup.html"
  },
  "permissions": [
  "tabs","http://*/","https://*/"
  ]
  }
  </code></pre>
  
  <p>and my code:</p>
  
  <pre><code>$.ajax({
              type: 'GET', //making a get request
              url:   "https://ajax.googleapis.com/ajax/services/search/web?v=1.0&amp;q=dogs",
              success: function (data) {
                document.write(data);
              }
              });
  </code></pre>
  
  <p>Help please, thanks.</p>