explanation of the code contained in manifest.json


Integrating an application with Firefox extensions provides a security guarantee to users because each Firefox extension is controlled with strict criteria. The file that gives the first information is called manifest.json

It is composed of :

  1. We indicate that it is a Firefox extension compatible with the latest versions:
      "applications": {
        "gecko": {
          "id": "lecjoa@mozilla.org",
          "strict_min_version": "45.0"
  2. We indicate the file where the action to be performed by the extension :
      "background": {
          "scripts": ["page-scripts/background.js"]
  3. We indicate that we want to display an icon in the browser's taskbar :
      "browser_action": {
        "default_icon": "icons/lecjoa-32.png"
  4. We describe the purpose of the application :
    "description": "Play audio file jo.
    Play audio file joa. Play audio file joh.
     Generates video multidirectional,
     play adn audio format, play PianoBaul",
  5. We indicate the homepage of the extension :
      "homepage_url": "https://addons.mozilla.org/en-US/firefox/addon/lecjoa/",
  6. We indicate the version of the writing rules and the name of the extension :
      "manifest_version": 2,
      "name": "Lecjoa",
  7. We indicate the internal home page, as well as the permissions :
      "options_ui": {
          "page": "lecjo.html"
      "permissions": ["storage"],
  8. We indicate the version number of the extension lecjoa :
      "version": ""