我一直在本地开发Chrome扩展程序。现在我已完成,想将其上传到Chrome Web Store。但当我上传时,出现以下提示:
An error occurred: Invalid manifest. If your manifest includes comments, please remove them as our gallery does not support them yet.
我检查了JSON以确保它是有效的,据我所知,它是完全有效的。我尝试更改其名称并上传它,但仍然无法工作。我还尝试更改编码方式,但也不起作用。下面是清单:
{
"name": "Name",
"version": "0.0.0.0.1",
"manifest_version": 2,
"description": "Description",
"browser_action": {
"default_icon": "icon.png",
"default_popup": "popup.html"
},
"icons": { "128": "icon.png"},
"permissions": [
"tabs",
"http://*/*",
"webNavigation",
"history",
"storage"
],
"content_scripts": [{
"matches": ["http://*/*", "https://*/*"],
"js": ["js/jquery.min.js", "js/tab.js"]
}],
"background": {
"page": "background.html"
}
}
有人知道问题出在哪里吗?终于完成扩展程序,现在遇到这个问题真是让人沮丧。