JSON syntax error -



JSON syntax error -

{ "manifest_version" : 2, "name": "kittenbook", "description" : "replace photos on facebook kittens", "version": "0.0.1" "content_scripts": [ { "matches": ["*://www.facebook.com/*"], "js": [kittenbook.js"] } }

can explain me wrong this?

failed load extension from: ~\kittenbook.html manifest not valid json. line: 6, column: 3, syntax error.

you have 3 errors here.

at end of "version":"0.0.1" << missing , at end of "js":[kittenbook.js"] << missing " , start of string also missing closing [] on "content_scripts" :[

this right json syntaxis.

{ "manifest_version": 2, "name": "kittenbook", "description": "replace photos on facebook kittens", "version": "0.0.1", "content_scripts": [ { "matches": [ "://www.facebook.com/" ], "js": [ "kittenbook.js" ] } ] }

for future testing utilize jsonlint

syntax-error

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -