|
|
|
@ -2,6 +2,10 @@
|
|
|
|
|
"server": { |
|
|
|
|
"intercepts": { |
|
|
|
|
"github.com": { |
|
|
|
|
"^(/[\\w-.]+){2,}/?(\\?.*)?$": { |
|
|
|
|
"tampermonkeyScript": "https://gitee.com/wangliang181230/dev-sidecar/raw/scripts/tampermonkey.js", |
|
|
|
|
"script": "https://gitee.com/wangliang181230/dev-sidecar/raw/scripts/GithubEnhanced-High-Speed-Download.user.js" |
|
|
|
|
}, |
|
|
|
|
"^((/[^/]+){2,})/raw((/[^/]+)+\\.(jpg|jpeg|png|gif))(\\?.*)?$": { |
|
|
|
|
"sni": "baidu.com" // proxy拦截器不会使用 .* 中的sni配置,故补充此配置 |
|
|
|
|
}, |
|
|
|
@ -48,9 +52,19 @@
|
|
|
|
|
"excludeIpList": { |
|
|
|
|
// Github文件上传所使用的域名,被DS代理会导致文件上传经常失败,从系统代理中排除掉 |
|
|
|
|
"objects-origin.githubusercontent.com": true, |
|
|
|
|
// Github通过Actions上传的文件,下载时所需的域名,从系统代理中排除掉,否则下载会失败 |
|
|
|
|
"*.windows.net": true, |
|
|
|
|
|
|
|
|
|
// cloudflare:排除以下域名,cloudflare的人机校验会更快,成功率更高。 |
|
|
|
|
"challenges.cloudflare.com": true |
|
|
|
|
"*.cloudflare.com": true, |
|
|
|
|
"*.cloudflare-cn.com": true, |
|
|
|
|
|
|
|
|
|
"*kaspersky*.com": true, |
|
|
|
|
"*.upd.kaspersky.com": true, |
|
|
|
|
|
|
|
|
|
"*.github.io": true, |
|
|
|
|
|
|
|
|
|
"*.sandboxie-plus.com": true |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
"plugin": { |
|
|
|
@ -58,6 +72,8 @@
|
|
|
|
|
"targets": { |
|
|
|
|
"*.github.com": true, |
|
|
|
|
"*github*.com": true, |
|
|
|
|
"*.nodejs.org": true, |
|
|
|
|
"*.npmjs.com": true, |
|
|
|
|
"*.wikimedia.org": true, |
|
|
|
|
"*.v2ex.com": true, |
|
|
|
|
"*.azureedge.net": true, |
|
|
|
@ -82,7 +98,15 @@
|
|
|
|
|
"*.intlify.dev": true, |
|
|
|
|
"*.segment.io": true, |
|
|
|
|
"*.shields.io": true, |
|
|
|
|
"*.jsdelivr.net": true |
|
|
|
|
"*.jsdelivr.net": true, |
|
|
|
|
|
|
|
|
|
// ChatGPT |
|
|
|
|
"*.oaiusercontent.com": true, // 在ChatGPT中生成文件并下载所需的域名 |
|
|
|
|
|
|
|
|
|
// Pixiv相关 |
|
|
|
|
"*.pixiv.org": true, |
|
|
|
|
"*.fanbox.cc": true, |
|
|
|
|
"*.onesignal.com": true // pixiv站点,会加载该域名下的js脚本 |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|