-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
62 lines (62 loc) · 1.62 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
{
"manifest_version": 3,
"name": "Cryptic Chat",
"version": "1.6.5",
"author": {
"name": "Sudo-Ivan"
},
"description": "Exchange cryptic messages with friends.",
"permissions": [
"activeTab",
"storage",
"contextMenus",
"declarativeNetRequest"
],
"host_permissions": [
"https://discord.com/*",
"https://raw.githubusercontent.com/*",
"https://element.io/*"
],
"background": {
"service_worker": "js/background.js"
},
"action": {
"default_popup": "html/popup.html",
"default_icon": {
"16": "icons/cryptic-logo.png",
"48": "icons/cryptic-logo.png",
"128": "icons/cryptic-logo.png"
}
},
"options_page": "html/options.html",
"content_scripts": [
{
"matches": ["https://discord.com/*", "https://element.io/*"],
"js": ["js/discord.js", "js/content.js", "js/element.js"],
"run_at": "document_idle"
}
],
"icons": {
"16": "icons/cryptic-logo.png",
"48": "icons/cryptic-logo.png",
"128": "icons/cryptic-logo.png"
},
"web_accessible_resources": [
{
"resources": ["icons/*.png", "fonts/*.ttf"],
"matches": ["https://discord.com/*", "https://element.io/*"]
}
],
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_1",
"enabled": true,
"path": "rules.json"
}
]
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'; connect-src 'self' https://raw.githubusercontent.com;"
}
}