-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
manifest-ff.json
131 lines (131 loc) · 3.86 KB
/
manifest-ff.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"manifest_version": 2,
"name": "__MSG_appName__",
"short_name": "__MSG_shortAppName__",
"version": "4.3.2",
"description": "__MSG_appDesc__",
"default_locale": "en",
"icons": {
"16": "images/logo16.png",
"32": "images/logo32.png",
"48": "images/logo48.png",
"64": "images/logo64.png",
"96": "images/logo96.png",
"128": "images/logo128.png",
"256": "images/logo256.png",
"512": "images/logo512.png"
},
"incognito": "spanning",
"browser_specific_settings": {
"gecko": {
"update_url": "https://raw.githubusercontent.com/FreekBes/improved_intra/main/updates.json",
"strict_min_version": "102.0"
}
},
"browser_action": {
"default_popup": "generic/popup/popup.html"
},
"options_ui": {
"page": "options/options.html",
"browser_style": false,
"open_in_tab": true
},
"permissions": [
"*://*.intra.42.fr/*",
"https://iintra.freekb.es/*",
"https://darkintra.freekb.es/*",
"storage",
"scripting"
],
"web_accessible_resources": [
"options/options.html",
"features/themes/apply.css",
"features/themes/light.css",
"features/themes/dark.css",
"features/themes/colors/cetus.css",
"features/themes/colors/green.css",
"features/themes/colors/pyxis.css",
"features/themes/colors/vela.css",
"features/themes/colors/windows.css",
"features/themes/colors/yellow.css",
"generic/inject.js"
],
"content_scripts": [
{
"matches": [ "*://*.intra.42.fr/*" ],
"css": [ "generic/fonts.css", "fixes/improv.css", "fixes/animations.css", "features/themes/apply.css" ],
"js": [ "generic/useful.js", "generic/console.js", "generic/lib/storage.js", "generic/lib/network.js", "generic/init.js", "features/themes/loader.js" ],
"run_at": "document_start"
},
{
"matches": [ "*://iintra.freekb.es/*" ],
"js": [ "generic/useful.js", "generic/console.js", "generic/lib/storage.js", "generic/lib/network.js", "generic/init.js" ],
"run_at": "document_start"
},
{
"matches": [ "*://*.intra.42.fr/*" ],
"js": [ "fixes/v3detector.js", "features/externalclustermap.js", "fixes/blackhole.js", "fixes/banners.js", "fixes/general.js", "fixes/optional.js", "fixes/improv.js" ],
"run_at": "document_end"
},
{
"matches": [ "*://profile.intra.42.fr/*", "*://projects.intra.42.fr/*", "*://elearning.intra.42.fr/*", "*://meta.intra.42.fr/*", "*://shop.intra.42.fr/*", "*://admin.intra.42.fr/*" ],
"js": [ "options/sync.js" ],
"run_at": "document_idle"
},
{
"matches": [ "*://signin.intra.42.fr/users/sign_in" ],
"js": [ "options/unsync.js" ],
"run_at": "document_start"
},
{
"matches": [ "*://iintra.freekb.es/*" ],
"js": [ "options/auth2.js" ],
"run_at": "document_end"
},
{
"matches": [ "*://iintra.freekb.es/options.php*", "*://iintra.freekb.es/connect.php*" ],
"js": [ "options/options.js" ],
"run_at": "document_start"
},
{
"matches": [ "*://iintra.freekb.es/v2/options/*" ],
"js": [ "options/options2.js" ],
"run_at": "document_end"
},
{
"matches": [ "https://admin.intra.42.fr/*" ],
"js": [ "features/admin.js" ],
"run_at": "document_end"
},
{
"matches": [ "*://profile.intra.42.fr/", "*://*.intra.42.fr/users/*" ],
"exclude_matches": [ "*://signin.intra.42.fr/users/sign_in" ],
"js": [ "features/profiles.js", "features/logtimes.js", "features/campus/codam/coa-titles.js" ],
"run_at": "document_idle"
},
{
"matches": [ "https://projects.intra.42.fr/*" ],
"js": [ "features/projects.js" ],
"run_at": "document_end"
},
{
"matches": [ "https://meta.intra.42.fr/clusters", "https://meta.intra.42.fr/campus/*/clusters" ],
"js": [ "features/clustermap.js" ],
"run_at": "document_end"
}
],
"background": {
"scripts": [
"generic/console.js",
"background/main.js",
"generic/lib/storage.js",
"generic/lib/network.js",
"background/comm.js",
"background/options.js",
"background/omnibox.js"
]
},
"omnibox": {
"keyword": "intra"
}
}