-
Notifications
You must be signed in to change notification settings - Fork 537
/
Copy pathmanifest.json
59 lines (59 loc) · 1.92 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": "Replace Google CDN",
"version": "0.11.0",
"manifest_version": 3,
"icons": {
"128": "icons/128.png"
},
"description": "将 Google CDN 替换为国内镜像 v3 更新日期:2023-12-06",
"background": {
"service_worker": "js/background.js",
"type": "module"
},
"permissions": [
"declarativeNetRequest",
"declarativeNetRequestWithHostAccess",
"declarativeNetRequestFeedback"
],
"host_permissions": ["<all_urls>"],
"declarative_net_request": {
"rule_resources": [
{
"id": "ruleset_redirect_main",
"enabled": true,
"path": "rules/rules_redirect_main.json"
},
{
"id": "ruleset_redirect_main_extra",
"enabled": true,
"path": "rules/rules_redirect_main_extra.json"
},
{
"id": "ruleset_remove_content_security_policy_header",
"enabled": true,
"path": "rules/rules_remove_content_security_policy_header.json"
},
{
"id": "ruleset_default_domains_helper",
"enabled": true,
"path": "rules/rules-default-domains-helper.json"
}
]
},
"content_security_policy": {
"extension_pages": "default-src 'self';script-src 'self' 'wasm-unsafe-eval' ;object-src 'self'; style-src 'self' 'unsafe-inline' ; connect-src https://justjavac.com https://justjavac.github.io https://*.justjavac.com/ https://*.jingjingxyk.com https://jingjingxyk.github.io http://localhost https://raw.githubusercontent.com https://github.com https://gitee.com https://gitcode.net;",
"sandbox": "sandbox allow-scripts allow-popups; script-src 'unsafe-inline' 'unsafe-eval' "
},
"options_ui": {
"page": "options_ui/index.html",
"open_in_tab": true
},
"action": {
"default_title": "Replace Google CDN"
},
"author": "https://github.com/justjavac",
"homepage_url": "https://github.com/justjavac/ReplaceGoogleCDN",
"sandbox": {
"pages": ["sandbox/index.html"]
}
}