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 0
/
Copy pathdef.json
62 lines (62 loc) · 2.02 KB
/
def.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
[
{
"type": "extension",
"frameworkVersion": "1.0.6",
"guid": "{d330b49d-e2f4-460c-9dc3-362a260d7457}",
"version": "3.2.0.8",
"author": {
"name": "Stefan vd",
"email": "stefanvandamme@stefanvd.net",
"site": "http://www.turnoffthelights.com"
},
"title": {
"en": "Turn Off the Lights",
"es": "Turn Off the Lights",
"de": "Turn Off the Lights",
"fr": "Turn Off the Lights",
"nl": "Turn Off the Lights",
"ru": "Turn Off the Lights",
"tr": "Turn Off the Lights",
"zh-cn": "关灯看视频"
},
"description": {
"en": "The entire page will be fading to dark, so you can watch the video as if you were in the cinema.",
"es": "La página se oscurecerá completamente , así podrás ver los videos como si estuvieras en el cine.",
"de": "Die ganze Seite wird abgedunkelt, sodass sie Videos wie im Kino anschauen können.",
"fr": "La page de votre navigateur s’assombrit et vous regardez votre vidéo comme dans un cinéma.",
"nl": "De pagina wordt donkerder, zo kunt u naar de video kijken alsof u in de bioscoop bent.",
"ru": "Затемняет содержимое веб-страницы для комфортного просмотра видео (как в кинотеатре).",
"tr": "Videoları tıpkı sinemadaymış gibi izleyebilmeniz için sayfanın tamamı karartılacaktır.",
"zh-cn": "观看视频时调暗页面,仿佛置身电影院"
},
"permissions": [
"httpRequest": ["http://*/*", "https://*/*", "*."]
],
"config": "options.html",
"service" : {
"main": "background.html",
"debug": false
},
"actions": [{
"type": "script",
"entryPoints": [ "sidebar", "toolbar","contextMenu"],
"include": ["*"],
"js": ["js/light.js"]
},
{
"type": "script",
"entryPoints": ["doc_start"],
"include": ["*"],
"js": ["js/injected.js"]
},
{
"type": "script",
"entryPoints": ["doc_end"],
"include": ["*"],
"css": ["css/light.css"],
"js": ["js/content.js"],
"includeFrames": true,
"contexts": ["page","video"]
}]
}
]