{
"name": "test",
"version": "1.0.0",
"description": "test",
"icons": {"16": "images/icon16.png",
"24": "images/icon24.png",
"32": "images/icon32.png",
"128": "images/icon128.png"},
"permissions": [
"https://*.wikipedia.com"
],
"browser_action": {
"default_title": "test",
"default_icon": "images/icon128.png",
"default_popup": "popup.html"
},
"manifest_version": 2,
}
你好!
这是我的测试扩展中的manifest.json文件。
每当我尝试在Chrome中导入它时,它会说:“Manifest无效JSON。行:18,列:2,不允许使用尾随逗号”
答案 0 :(得分:3)
我认为在行"manifest_version": 2,
使用不必要的逗号时存在问题。