-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmanifest.json
More file actions
54 lines (54 loc) · 1.01 KB
/
Copy pathmanifest.json
File metadata and controls
54 lines (54 loc) · 1.01 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
49
50
51
52
53
54
{
"manifest_version": 3,
"name": "Yapi请求插件",
"description": "YApi 跨域请求",
"version": "3.1.4",
"action": {
"default_icon": "img/icon.png",
"default_popup": "popup.html"
},
"icons": {
"128": "img/icon.png",
"48": "img/icon.png",
"16": "img/icon.png"
},
"permissions": [
"declarativeNetRequest",
"declarativeNetRequestFeedback",
"storage",
"activeTab",
"webRequest"
],
"host_permissions": [
"<all_urls>"
],
"background": {
"service_worker": "js/service_worker/background.js",
"type": "module"
},
"web_accessible_resources": [
{
"resources": [
"js/inject/index.js"
],
"matches": [
"http://*/*",
"https://*/*"
]
}
],
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"js/content/index.js"
]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'"
}
}