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"]
}
]
}
本文介绍了解决Chrome浏览器插件安装失败的问题,主要原因是manifest.json文件中缺少'manifest_version'键及其值。通过设置该键为2,可以确保插件在Chrome12及后续版本中的正常安装。

3202

被折叠的 条评论
为什么被折叠?



