【发布时间】:2012-12-27 17:33:49
【问题描述】:
我正在尝试向 Chrome 网上应用店提交 Google Chrome 扩展程序,但我收到以下错误:
发生错误:清单无效。如果您的清单包含 cmets,请删除它们,因为我们的库尚不支持它们。
这是我的 manifest.json:
{
"name": "IMGit Image Uploader",
"version": "1",
"description": "Easy and fast image uploading from a simple right click.",
"background": {"page": "imgit.html"},
"icons": {
"16": "16.png",
"48": "48.png",
"128": "128.png"
},
"permissions": ["contextMenus","tabs","http://*/*","https://*/*",],
"manifest_version": 2,
}
Adobe Dreamweaver 在第 2 行显示语法错误。不知道为什么。
怎么了?
【问题讨论】:
-
使用 jslint.com,它会告诉你你的 JSON 错误。
标签: json google-chrome-extension manifest chrome-web-store