loading script to google chrome extension

Viewed 15076

I'm trying to create new extensions but I'm having a problem when I include the JavaScript:

 {
  "name": "<name>",
  "version": "1.0",
  "description": "<description>",
    "default_icon": "icon.png",
    "content_scripts": [
    {
      "matches": ["http://*.com"],
          "js": ["script.js"]
    }
  ],
  "permissions": [
    "http://*.com/"
  ]
}

I'm having this error:

could not load extension from <path>
Invaild value for 'content_scripts[0].matches[0]':Empty path
1 Answers
Related