-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathmanifest.json
73 lines (73 loc) · 1.39 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
{
"manifest_version": 3,
"name": "__MSG_appName__",
"version": "3.1.1",
"description": "__MSG_appDescription__",
"icons": {
"19": "icons/19.png",
"38": "icons/38.png",
"48": "icons/48.png",
"128": "icons/128.png",
"300": "icons/300.png"
},
"default_locale": "vi",
"background": {
"service_worker": "scripts/sw.js"
},
"permissions": [
"notifications",
"downloads",
"storage",
"tabs",
"webRequest"
],
"host_permissions": [
"https://gxcl.info/api.php",
"*://*/*"
],
"content_scripts": [
{
"matches": ["*://*.facebook.com/*"],
"js": [
"scripts/libs/jquery.min.js",
"scripts/injects/fb.js"
],
"run_at": "document_idle",
"all_frames": false
},
{
"matches": ["*://*.flickr.com/*"],
"js": [
"scripts/injects/flickr.js"
],
"run_at": "document_start"
},
{
"matches": ["*://www.tumblr.com/*"],
"js": [
"scripts/injects/tumblr.js"
],
"run_at": "document_start"
}
],
"action": {
"default_icon": {
"19": "icons/19.png",
"38": "icons/38.png",
"48": "icons/48.png",
"128": "icons/128.png",
"300": "icons/300.png"
},
"default_title": "__MSG_appName__"
},
"web_accessible_resources": [{
"resources": [
"icons/48.png"
],
"matches": ["*://*/*"]
}],
"content_security_policy": {
"script-src": "self",
"object-src": "self"
}
}