This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmanifest.json
executable file
·101 lines (101 loc) · 3.14 KB
/
manifest.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"manifest_version": 2,
"name": "__MSG_name__",
"short_name": "TOtL",
"version": "4.2.2.0",
"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",
"browser_action": {
"default_title": "__MSG_pageatitle__",
"default_icon": {
"19": "icons/iconstick19.png",
"38": "icons/iconstick38.png"
}
},
"background": {
"page": "background.html",
"persistent": false
},
"content_security_policy": "default-src 'none'; style-src 'self'; media-src https://www.turnoffthelights.com; child-src https://www.youtube.com https://www.turnoffthelights.com; connect-src https://www.turnoffthelights.com; script-src 'self'; img-src 'self' * data:; object-src 'none'",
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"exclude_matches": ["*://*.turnoffthelights.com/extension/options.html"],
"js": ["js/constants.js", "js/content.js", "js/eco.js"],
"run_at": "document_end"
},
{
"matches": ["http://*/*", "https://*/*"],
"exclude_matches": ["*://*.mycinema.pro/*", "*://*.turnoffthelights.com/extension/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": ["*://*.turnoffthelights.com/extension/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": ["*://*.turnoffthelights.com/extension/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": ["*://*.turnoffthelights.com/extension/options.html"],
"js": ["js/constants.js","js/options.js","js/Chart.js","js/eco-preview.js"],
"run_at": "document_end"
}
],
"commands": {
"_execute_browser_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
},
"offline_enabled": true,
"minimum_chrome_version": "33",
"storage": {
"managed_schema": "schema.json"
},
"permissions": [ "contextMenus", "tabs", "<all_urls>", "storage" ]
}