-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathmanifest.json
More file actions
48 lines (48 loc) · 1.22 KB
/
Copy pathmanifest.json
File metadata and controls
48 lines (48 loc) · 1.22 KB
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
{
"manifest_version": 3,
"name": "Trump Filter",
"version": "1.2",
"description": "Remove Donald Trump from the Internet.",
"action" :
{
"default_icon" : "images/icon-19x19.png",
"default_title" : "Warning: Trump is on this page!",
"default_popup": "background.html"
},
"permissions": [
"storage"
],
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"exclude_globs": [
"*://*trumpfilter.com*",
"*://*github.com*"
],
"js": ["js/jquery-3.7.1.min.js", "js/filter.js"],
"run_at": "document_idle",
"all_frames": false
}
],
"icons" : {
"16": "images/icon-16x16.png",
"19": "images/icon-19x19.png",
"48": "images/icon-48x48.png",
"128": "images/icon-128x128.png",
"130": "images/icon-130x130.png",
"550": "images/icon-550x550.png"
},
"background": {
"service_worker": "background.js"
},
"options_ui" : {
"page": "options.html"
},
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self';",
"sandbox": "sandbox allow-scripts allow-forms allow-popups allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval'; child-src 'self';"
}
}