(所以,我是一名平面设计师/艺术家,我对任何类型的代码或脚本都不熟悉。)
在我的 Chrome 主题代码中,出现错误:
“无法从 'E:\Web\dev\theme\dev\Test' 加载扩展。清单不是有效的 JSON。行:7,列:4,语法错误。”
我不知道我哪里出错了,因为指定的语法错误在空格处,如以下代码示例所示:
{
"manifest_version": 2,
"version": 2.0
"name": "Test",
"theme": {
"images" : {
"theme_frame" : "images/frame.png",
"theme_toolbar" : "images/toolbar.png",
"theme_ntp_background" : "images/polygons.png",
"theme_tab_background" : "images/tab.png",
"theme_ntp_attribution" : "images/theme_ntp_attribution.png"
},
"colors" : {
"ntp_link": [255,255,255],
"ntp_text": [255,255,255],
"ntp_section_link": [255,255,255],
"ntp_section_text": [10 , 17 , 27],
"ntp_background": [10 , 17 , 27],
"frame": [10 , 17 , 27],
"toolbar": [10 , 17 , 27],
"tab_text": [255,255,255],
"tab_background_text": [10 , 17 , 27],
"bookmark_text": [255,255,255]
},
"tints" : {
"buttons" : [0.33, 0.5, 0.47]
},
"properties" : {
"ntp_background_alignment" : "bottom",
"ntp_background_repeat": "no-repeat"
}
}
}
那么,哪里出错了?