{
  "manifest_version": 2,
  "short_name": "FormHistCtrl",
  "name": "__MSG_extensionName__",
  "description": "__MSG_extensionDescription__",
  "version": "2.5.1.0",
  "developer": {
    "name": "Stephan Mahieu",
    "url": "https://stephanmahieu.github.io/fhc-home/"
  },
  "default_locale": "en",

  "applications": {
    "gecko": {
      "id": "formhistory@yahoo.com",
      "strict_min_version": "63.0"
    }
  },

  "permissions": [
    "menus",
    "notifications",
    "activeTab",
    "tabs",
    "storage",
    "alarms",
    "clipboardWrite"
  ],

  "icons": {
    "16":  "theme/icons/fhc-16.png",
    "32":  "theme/icons/fhc-32.png",
    "48":  "theme/icons/fhc-48.png",
    "64":  "theme/icons/fhc-64.png",
    "128": "theme/icons/fhc-128.png",
    "129": "theme/icons/fhc_icon.svg"
  },
  
  "options_ui": {
      "open_in_tab": true,
      "browser_style": false,
      "page": "popup/options/options.html"
  },

  "background": {
    "scripts": [
      "common/DbConst.js",
      "common/CleanupConst.js",
      "common/WindowUtil.js",
      "common/OptionsUtil.js",
      "common/DateUtil.js",
      "common/MiscUtil.js",
      "background/receiveFormData.js",
      "background/contextmenu.js",
      "background/applicationIcon.js"
    ]
  },

  "content_scripts": [
    {
      "js": [
        "common/purify.js",
        "content/collectFormData.js",
        "content/showFormData.js",
        "content/auto-complete.js",
        "content/add-auto-complete.js"
      ],
      "css": [
        "content/auto-complete.css"
      ],
      "matches": ["*://*/*", "file:///*"],
      "run_at": "document_end",
      "all_frames" : true
    }
  ],

  "browser_action": {
    "browser_style": false,
    "default_icon": "theme/icons/fhc_icon.svg",
    "default_title": "__MSG_extensionName__",
    "default_popup": "popup/tableview/popup-small.html"
  },

  "page_action": {
    "browser_style": false,
    "default_title": "__MSG_extensionName__",
    "default_popup": "popup/pageaction/pageaction.html",
    "default_icon": "theme/icons/fhc_icon_bw.svg",
    "show_matches": ["*://*/*", "file:///*"]
  },

  "commands": {
    "_execute_browser_action": {
      "suggested_key": {
        "default": "Alt+Shift+P"
      },
      "description": "Opens the popdown FHC dialog"
    },
    "open_fhc": {
      "suggested_key": {
        "default": "Alt+Shift+F"
      },
      "description": "Open the main FHC dialog"
    },
    "toggle_display_fields": {
      "suggested_key": {
        "default": "Alt+Shift+D"
      },
      "description": "Show/hide formfields on the current page"
    },
    "fill_recent": {
      "suggested_key": {
        "default": "Alt+Shift+R"
      },
      "description": "Fill fields with most recent used entries"
    },
    "fill_often": {
      "suggested_key": {
        "default": "Alt+Shift+O"
      },
      "description": "Fill fields with most often used entries"
    },
    "clear_filled": {
      "suggested_key": {
        "default": "Alt+Shift+C"
      },
      "description": "Clear filled fields"
    }
  }
}
