-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathmanifest.json
47 lines (47 loc) · 1.1 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
{
"manifest_version": 3,
"name": "Block Pornographic Replies",
"description": "屏蔽推特回复下的黄推。Block pornographic replies below the tweet.",
"version": "2.6",
"icons": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
},
"background": {
"service_worker": "background.js"
},
"action": {
"default_popup": "popup/popup.html",
"default_icon": {
"16": "images/icon-16.png",
"32": "images/icon-32.png",
"48": "images/icon-48.png",
"128": "images/icon-128.png"
}
},
"host_permissions": ["*://*.twitter.com/*"],
"web_accessible_resources": [
{
"resources": ["scripts/injected.js"],
"matches": ["https://*.twitter.com/*"]
}
],
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Ctrl+B",
"mac": "Command+B"
}
}
},
"content_scripts": [
{
"js": ["scripts/content.js"],
"css": ["style.css"],
"matches": ["https://*.twitter.com/*"],
"run_at": "document_start"
}
]
}