每次尝试加载follow manifest.json时都会出现语法错误:
{
"name":"Reada",
"version":"1.0",
"description":"An extension to enable functionality of Arc90's readability",
"background_page":"noway.html",
"browser_action":{ "default_icon":"hello.png" }
"permissions":"tabs"
}
第7行,第1列,语法错误。
答案 0 :(得分:3)
"browser_action"
条目后您缺少逗号。我发现将JSON粘贴到Python shell中很方便,它会在flash中获取语法错误:
>>> {
... "name":"Reada",
... "version":"1.0",
... "description":"An extension to enable functionality of Arc90's readability",
... "background_page":"noway.html",
... "browser_action":{ "default_icon":"hello.png" }
... "permissions":"tabs"
File "<stdin>", line 7
"permissions":"tabs"
^
SyntaxError: invalid syntax
>>> }