use*_*034 11 json google-chrome google-chrome-extension
我开发了Chrome扩展程序,当我将其作为Chrome中的解压缩扩展程序加载时,它可以正常运行.但是,当我尝试将zip上传到Chrome网上应用店时,收到以下manifest.json错误:
发生错误:无法处理您的商品.manifest.json:8:4:意外的char.
我已经删除了JSON文件中的所有注释.我甚至在http://jsonlint.com上测试了我的JSON,它又回来了.有没有人知道问题可能是什么?
这是我的manifest.json:
{
"manifest_version": 2,
"name": "My Extension",
"version": "0.0.0.1",
"description": "Description goes here",
"content_scripts": [
{
"matches": ["https://example.com"],
"css": ["css/style.css"],
"js": [
"lib/jquery-2.1.4.min.js",
"scripts/main.js"
],
"run_at": "document_idle"
}
],
"icons": {
"16": "icons/16.png",
"48": "icons/48.png",
"128": "icons/128.png"
}
}
Run Code Online (Sandbox Code Playgroud)