-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
80 lines (74 loc) · 1.86 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
{
"manifest_version": 3,
"name": "Example Webextension",
"version": "2.3.3",
"author": "42null",
"description": "An example extension",
"homepage_url": "https://github.com/42null/Return-YouTube-UI",
"browser_specific_settings": {
"gecko": {
"id": "{020ca5d0-0cfd-4bd3-82d4-d85b240d3714}"
}
},
"permissions": [
"storage",//Used to save extension prefrences
"scripting",//Used to inject code into pages to modify them
"tabs"//Used to open on install/updae page
],
"host_permissions": [
"*://*.example.com/",
"*://*.example.net/",
"*://*.example.org/",
"*://*.example.edu/"
],
"background": {
"scripts": ["background/background.js"]//Used to trigger on install/update page
// "service_worker": "background/background.js"
},
"action": {
"default_icon": "icons/logo.svg",
"theme_icons": [{
"light": "icons/logo.svg",
"dark": "icons/logo.svg",
"size": 32
}],
"default_title": "Example Extension",
"default_popup": "popup/popup.html"
},
"content_scripts": [
{
"matches": [
"*://*.example.com/",
"*://*.example.net/",
"*://*.example.org/",
"*://*.example.edu/"
],
"js": ["triggerSetup.js", "injectionInjector.js"]
}
],
"web_accessible_resources": [
{
"resources": [
"injection_parts/helper_functions.js",
"global_helper_functions.js",
"injectionInjector.js",
"injection_parts/primary/*.css",
"injection_parts/extras/*.css",
"projectConfiguration.json",
"icons/*"
],
"matches": [
"*://*.example.com/",
"*://*.example.net/",
"*://*.example.org/",
"*://*.example.edu/"
]
}
],
"icons": {
"16": "icons/logo.svg",
"48": "icons/logo.svg",
"128": "icons/logo.svg",
"512": "icons/logo.svg"
}
}