-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
50 lines (50 loc) · 983 Bytes
/
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
{
"name": "PuppeteerLite",
"description": "使用chrome扩展实现类似puppeteer的远程自动控制",
"version": "0.1",
"manifest_version": 3,
"background": {
"service_worker": "dist/background/index.js",
"type": "module"
},
"action": {
"default_popup": "dist/popup/index.html",
"default_title": "PuppeteerLite"
},
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"dist/page/main_document_start.js"
],
"run_at": "document_start",
"world": "MAIN"
},
{
"matches": [
"<all_urls>"
],
"js": [
"dist/page/isolated_document_start.js"
],
"run_at": "document_start",
"world": "ISOLATED"
}
],
"permissions": [
"alarms",
"activeTab",
"tabs",
"scripting",
"storage",
"debugger",
"webRequest",
"declarativeNetRequest",
"clipboardWrite"
],
"host_permissions": [
"<all_urls>"
]
}