Focus On The Video

Focus On The Video

Turn the lights back off and focus on the video. This is like a cinema experience when you begin watching your Youtube videos.

Merlin
Additional files are visible only to premium users

manifest.json


{
  "update_url": "https://clients2.google.com/service/update2/crx",
  "manifest_version": 2,
  "name": "Focus On The Video",
  "short_name": "Focus On The Video",
  "version": "1.0",
  "description": "Turn the lights back off and focus on the video. This is like a cinema experience when you begin watching your Youtube videos.",
  "icons": {
    "16": "images/icons8-video-16.png",
    "32": "images/icons8-video-32.png",
    "48": "images/icons8-video-48.png",
    "64": "images/icons8-video-64.png",
    "128": "images/icons8-video-128.png"
  },
  "default_locale": "en",
  "browser_action": {
    "default_icon": {
      "16": "images/icons8-video-16.png",
      "32": "images/icons8-video-32.png",
      "48": "images/icons8-video-48.png",
      "64": "images/icons8-video-64.png",
      "128": "images/icons8-video-128.png"
    }
  },
  "background": {
    "page": "background.html",
    "persistent": false
  },
  "content_scripts": [
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "exclude_matches": [
        "*://*/*/options.html"
      ],
      "js": [
        "js/constants.js",
        "js/content.js",
        "js/eco.js"
      ],
      "run_at": "document_end"
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "exclude_matches": [
        "*://*.mycinema.pro/*",
        "*://*/*/options.html"
      ],
      "css": [
        "css/light.css"
      ],
      "run_at": "document_end",
      "all_frames": true,
      "match_about_blank": true
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "js": [
        "js/screenshader.js"
      ],
      "exclude_matches": [
        "*://*/*/options.html"
      ],
      "run_at": "document_start"
    },
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "js": [
        "js/fps.js"
      ],
      "run_at": "document_start",
      "all_frames": true
    },
    {
      "matches": [
        "http://*/*",
        "https://*/*"
      ],
      "exclude_matches": [
        "*://*/*/options.html"
      ],
      "js": [
        "js/autostop.js"
      ],
      "run_at": "document_start",
      "all_frames": true,
      "match_about_blank": true
    },
    {
      "matches": [
        "*://*.youtube.com/*"
      ],
      "css": [
        "css/youtube.css"
      ]
    },
    {
      "matches": [
        "*://*/*/options.html"
      ],
      "js": [
        "js/constants.js",
        "js/options.js",
        "js/Chart.js",
        "js/eco-preview.js"
      ],
      "run_at": "document_end"
    }
  ],
  "offline_enabled": true,
  "minimum_chrome_version": "33",
  "storage": {
    "managed_schema": "schema.json"
  },
  "permissions": [
    "contextMenus",
    "tabs",
    "<all_urls>",
    "storage",
    "https://update-api.cinemamode.co/"
  ]
}