-
Notifications
You must be signed in to change notification settings - Fork 2
/
manifest.json
59 lines (59 loc) · 1.53 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
{
"name": "pronunciation-corrector-chromium-extension",
"version": "0.1.0",
"manifest_version": 3,
"description": "pronunciation-corrector-chromium-extension",
"content_scripts": [
{
"matches": ["https://corrector.justsong.cn/*"],
"run_at": "document_end",
"js": ["js/content-script/corrector/content-script.js"]
},
{
"matches": ["https://www.youdao.com/*"],
"all_frames": true,
"match_origin_as_fallback": true,
"run_at": "document_idle",
"js": ["js/content-script/youdao/content-script.js"]
}
],
"permissions": [
"declarativeNetRequest",
"declarativeNetRequestWithHostAccess",
"webNavigation"
],
"host_permissions": [
"*://www.youdao.com/*",
"*://dict.youdao.com/*",
"*://corrector.justsong.cn/*"
],
"web_accessible_resources": [
{
"resources": ["*.js", "*.css", "*.html"],
"matches": ["*://*/*"],
"extension_ids": [],
"use_dynamic_url": true
}
],
"declarative_net_request": {
"rule_resources": [
{
"id": "remove_content_security_policy",
"enabled": true,
"path": "rules/remove_content_security_policy.json"
},
{
"id": "modify-headers",
"enabled": true,
"path": "rules/modify-headers.json"
},
{
"id": "block-request",
"enabled": true,
"path": "rules/rules_block_1.json"
}
]
},
"author": "https://github.com/jingjingxyk",
"homepage_url": "https://github.com/songquanpeng/pronunciation-corrector.git"
}