FANDOM


The manifest.json file in a browser extension is a JSON file containing metadata for the group of files and data for the browser extension.

FormatEdit

The manifest.json format is the same as the normal JSON format. Here is an example of a manifest.json file:

{
  
  "manifest_version": 2,
  "name": "Example Browser Extension",
  "version": "0.0.1",
  
  "description": "Example Description",
  
  "browser_action": {
    "default_icon": "Your icon"
  },
  
  "content_scripts": [
    {
      "matches": ["<all_urls>"],
      "js": ["Your js file"]
    }
  ]
  
}
Community content is available under CC-BY-SA unless otherwise noted.