The 'manifest_version' key must be present and set to 2 (without quotes).

chrome插件安装失败:

The 'manifest_version' key must be present and set to 2 (without quotes).

 

解决方法:manifest.json文件中添加"manifest_version": 2,部分(Chrome12以后版本)

{
  "name": "UrlFinder",
  "version": "0.4",
  "manifest_version": 2,
  "description": "UrlFinder",
  "permissions": [
"http://*/*",
"tabs"
   ],
   "content_scripts": [
    {
      "matches": ["http://*/*"],
      "css": ["mystyles.css"],
      "js": ["public.js", "search.js"]
    }
  ]
}

 

 

引用 :http://tieba.baidu.com/p/2424119777

你可能感兴趣的:(Manifest)