title: Google Chrome Extension error - Access-Control-Allow-Origin
body: <p>XMLHttpRequest cannot load <a href="http://localhost:4567/save" rel="nofollow">http://localhost:4567/save</a>. Origin chrome-extension://cbemaelkkmebiohhjgmlclegalijdbbh is not allowed by Access-Control-Allow-Origin.</p>
  
  <p>Even thought I'm getting this error the extension seems to be calling the URL. The message passing from contentscript.js to background.html took me a few minutes to wire up, but seems ok. I'm confused.</p>
  
  <p>Here is my manifest.</p>
  
  <pre><code>{
    "name": "FirstExt",
    "version": "1.0",
    "description": "My First Extension",
    "browser_action": {
      "default_icon": "icon.png",
      "popup": "popup.html"
    },
    "content_scripts": [
    {
      "matches": ["http://*"],
      "js": ["jquery.min.js", "contentscript.js"]
    }
    ],
    "background_page": "background.html",
    "permissions": [ "http://*", 
                 "http://localhost:4567/*" ]
  }
  </code></pre>