WebExtension.net
WebExtension.net

Turn Off the Lights

View on Chrome Web Store
View Turn Off the Lights Chrome Extension on Chrome Web Store
4.5 (47 ratings)

Data is synced from the Chrome Web Store. View the official store page for the most current information.

The entire page will be fading to dark, so you can watch the videos as if you were in the cinema. Works for YouTube™ and beyond.
Type
Extension
Users
3,000 users
Stefan vd
View author page of Stefan vd
Published
Published on January 21, 2011
Version 4.4.6
Manifest version
3
Updated
Updated on June 3, 2024
View on Chrome Web Store
View Turn Off the Lights Chrome Extension on Chrome Web Store
make_chrome_yours/accessibility
Extension Category
Website
Visit developer website

Extension Manifest

Copy manifest to clipboard
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "name": "__MSG_name__",
    "short_name": "Turn Off the Lights",
    "version": "4.4.6",
    "description": "__MSG_description__",
    "author": "Stefan vd",
    "homepage_url": "https:\/\/www.turnoffthelights.com\/support\/",
    "omnibox": {
        "keyword": "totl"
    },
    "icons": {
        "16": "icons\/icon16.png",
        "24": "icons\/icon24.png",
        "32": "icons\/icon32.png",
        "48": "icons\/icon48.png",
        "96": "icons\/icon96.png",
        "128": "icons\/icon128.png"
    },
    "default_locale": "en",
    "action": {
        "default_title": "__MSG_pageatitle__",
        "default_icon": {
            "19": "icons\/iconstick19.png",
            "38": "icons\/iconstick38.png"
        }
    },
    "background": {
        "service_worker": "js\/background.js"
    },
    "content_security_policy": {
        "extension_pages": "default-src 'none'; style-src 'self'; media-src https:\/\/www.turnoffthelights.com; frame-src https:\/\/www.youtube.com https:\/\/www.turnoffthelights.com; connect-src https:\/\/www.turnoffthelights.com; script-src 'self'; img-src 'self' https:\/\/www.turnoffthelights.com * data:; object-src 'none'"
    },
    "content_scripts": [
        {
            "matches": [
                "<all_urls>"
            ],
            "js": [
                "js\/constants.js",
                "js\/content.js",
                "js\/eco.js"
            ],
            "run_at": "document_end"
        },
        {
            "matches": [
                "<all_urls>"
            ],
            "css": [
                "css\/light.css"
            ],
            "run_at": "document_end",
            "all_frames": true,
            "match_about_blank": true
        },
        {
            "matches": [
                "*:\/\/*.youtube.com\/*"
            ],
            "js": [
                "js\/fps.js"
            ],
            "run_at": "document_start",
            "all_frames": true
        },
        {
            "matches": [
                "<all_urls>"
            ],
            "js": [
                "js\/autostop.js"
            ],
            "run_at": "document_start",
            "all_frames": true,
            "match_about_blank": true
        },
        {
            "matches": [
                "*:\/\/*.youtube.com\/*"
            ],
            "css": [
                "css\/youtube.css"
            ]
        }
    ],
    "commands": {
        "_execute_action": {
            "suggested_key": {
                "default": "Ctrl+Shift+L",
                "mac": "MacCtrl+Shift+L"
            }
        },
        "toggle-feature-nightmode": {
            "suggested_key": {
                "default": "Ctrl+Shift+N",
                "mac": "MacCtrl+Shift+N"
            },
            "description": "__MSG_titelnighttheme__"
        }
    },
    "options_ui": {
        "page": "options.html",
        "open_in_tab": true
    },
    "web_accessible_resources": [
        {
            "resources": [
                "\/js\/fps-block.js",
                "\/js\/hd-quality.js"
            ],
            "matches": [
                "*:\/\/www.youtube.com\/*"
            ],
            "use_dynamic_url": true
        },
        {
            "resources": [
                "\/js\/video-player-status.js"
            ],
            "matches": [
                "<all_urls>"
            ],
            "use_dynamic_url": true
        }
    ],
    "offline_enabled": true,
    "minimum_chrome_version": "116",
    "storage": {
        "managed_schema": "schema.json"
    },
    "permissions": [
        "contextMenus",
        "tabs",
        "storage",
        "webNavigation",
        "scripting"
    ],
    "host_permissions": [
        "<all_urls>"
    ]
}
WebExtension.net

Track and analyze Chrome Web Store extensions with comprehensive analytics and insights.

© 2024 WebExtension.net. All rights reserved.
Disclaimer: WebExtension.net is not affiliated with Google or the Chrome Web Store. All product names, logos, and brands are property of their respective owners. All extension data is collected from publicly available sources.
Go to top