Disable HTML5 Autoplay

Disable HTML5 Autoplay

Disable autoplay and preloading of HTML5 video and audio players.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "manifest_version": 2,
  "applications": {
    "gecko": {
      "id": "disable-html5-autoplay@afnankhan",
      "strict_min_version": "52.0"
    }
  },
  "name": "Disable HTML5 Autoplay",
  "version": "2018.10.4resigned1",
  "description": "Disable autoplay and preloading of HTML5 video and audio players.",
  "icons": {
    "48": "images/icon.svg",
    "96": "images/icon.svg"
  },
  "browser_action": {
    "default_title": "Disable HTML5 Autoplay",
    "default_icon": "images/icon.svg",
    "default_popup": "html/popup.html",
    "browser_style": true
  },
  "content_scripts": [
    {
      "matches": [
        "<all_urls>"
      ],
      "js": [
        "js/content_script.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    }
  ],
  "background": {
    "scripts": [
      "js/background.js"
    ]
  },
  "options_ui": {
    "page": "html/options.html",
    "browser_style": true
  },
  "permissions": [
    "tabs",
    "storage"
  ],
  "web_accessible_resources": [
    "js/inject.js",
    "js/youtube.js"
  ]
}