{
  "manifest_version": 2,
  "name": "Ultrawidify",
  "description": "Removes black bars on ultrawide videos and offers advanced options to fix aspect ratio.",
  "version": "5.0.0",
  "applications": {
    "gecko": {
      "id": "{cf02b1a7-a01a-4e37-a609-516a283f1ed3}"
    }
  },
  "icons": {
    "32":"res/icons/uw-32.png",
    "64":"res/icons/uw-64.png"
  },
  "browser_action": {
    "default_title": "Ultrawidify",
    "default_popup": "popup/popup.html"
  },

  "content_scripts": [{
    "matches": ["*://*/*"],
    "js": [ 
      "common/lib/browser-polyfill.js",
      "ext/uw.js"
    ],
    "css": [
      "ext/uw-ui.css",
      "ext/uw.css"
    ],
    "all_frames": true
  }],

  "background": {
    "persistent": true,
    "scripts": [
      "ext/uw-bg.js"
    ]
  },
  
  "options_ui": {
    "page": "options/options.html",
    "browser_style": false,
    "open_in_tab": true
  },


  "web_accessible_resources": [
    "./*",
    "ext/*",
    "res/fonts/*",
    "res/css/*",
    "res/img/settings/about-bg.png",
    "res/icons/*",
    "res/img/*"
  ],
  "permissions": [
    "storage",
    "activeTab",
    "<all_urls>"
  ],
  "optional_permissions": [
    "downloads"
  ]
}
