google-chrome-extension manifest.json

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9

Remarks

Official documentation

Manifest File Format

Format

Manifest file is written in JSON (JavaScript Object Notation) format.

This format differs from more loose rules of writing object literals in JavaScript code. Among important differences:

  • Every key name and string literal must be in double quotes.

    • Correct: "key": "value"

    • Wrong: key: "value", 'key': 'value'

  • No comments are allowed by the format.

    • Wrong: "key": "value" // This controls feature foo
  • Strict comma rules: items separated by commas, no dangling commas.

    • Correct:

      {
        "foo": "bar",
        "baz": "qux"
      }
      
    • Wrong (comma missing):

      {
        "foo": "bar"
        "baz": "qux"
      }
      
    • Wrong (dangling comma):

      {
        "foo": "bar",
        "baz": "qux",
      }
      


Got any google-chrome-extension Question?