Skip to content

Commit 38f251d

Browse files
committed
更新 加速源
1 parent acd071a commit 38f251d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

GithubEnhanced-High-Speed-Download.user.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @name:zh-CN Github 增强 - 高速下载
44
// @name:zh-TW Github 增強 - 高速下載
55
// @name:en Github Enhancement - High Speed Download
6-
// @version 2.2.1
6+
// @version 2.2.2
77
// @author X.I.U
88
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
99
// @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
@@ -34,15 +34,15 @@
3434
['https://gh.ddlc.top/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@mtr-static-official] 提供'], // 2023-01-14
3535
['https://gh2.yanqishui.work/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@HongjieCN] 提供'],
3636
['https://ghdl.feizhuqwq.cf/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [feizhuqwq.com] 提供'],
37-
['https://gh-proxy-misakano7545.koyeb.app/https://github.com', '美国', '[美国 Cloudflare CDN]'],
37+
//['https://gh-proxy-misakano7545.koyeb.app/https://github.com', '美国', '[美国 Cloudflare CDN]'],
3838
['https://gh.flyinbug.top/gh/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [Mintimate] 提供'],
3939
['https://github.91chi.fun/https://github.com', '美国', '[美国 Cloudflare CDN]'],
4040
['https://proxy.zyun.vip/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [知了小站] 提供'],
4141
['https://git.xfj0.cn/https://github.com', '美国', '[美国 Cloudflare CDN]'],
4242
['https://gh.con.sh/https://github.com', '美国', '[美国 Cloudflare CDN]'],
4343
['https://ghps.cc/https://github.com', '美国', '[美国 Cloudflare CDN]'],
4444
['https://cors.isteed.cc/github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [Lufs\'s] 提供'],
45-
['https://cdn.githubjs.cf', '美国', '[美国 Cloudflare CDN]'],
45+
//['https://cdn.githubjs.cf', '美国', '[美国 Cloudflare CDN]'],
4646
//['https://download.njuu.cf', '美国', '[美国 拉斯维加斯] - 该公益加速源由 [LibraryCloud] 提供'],
4747
['https://download.yzuu.cf', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [LibraryCloud] 提供'],
4848
['https://download.nuaa.cf', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [LibraryCloud] 提供']
@@ -261,7 +261,7 @@
261261
url = '', _html = '';
262262

263263
for (let i=1;i<raw_url.length;i++) {
264-
if (raw_url[i][0].indexOf('/gh') != -1 && raw_url[i][0].indexOf('cdn.staticaly.com') === -1) {
264+
if ((raw_url[i][0].indexOf('/gh') + 3 === raw_url[i][0].length) && raw_url[i][0].indexOf('cdn.staticaly.com') === -1) {
265265
url = raw_url[i][0] + href.replace('/blob/','@');
266266
} else {
267267
url = raw_url[i][0] + href2;
@@ -304,7 +304,7 @@
304304
Name = cntElm_a.innerText,
305305
href = cntElm_a.getAttribute('href'),
306306
href2 = href.replace('/blob/','/'), url, url_name, url_tip = '';
307-
if (raw_url[menu_raw_fast][0].indexOf('/gh') != -1 && raw_url[menu_raw_fast][0].indexOf('cdn.staticaly.com') === -1) {
307+
if ((raw_url[menu_raw_fast][0].indexOf('/gh') + 3 === raw_url[menu_raw_fast][0].length) && raw_url[menu_raw_fast][0].indexOf('cdn.staticaly.com') === -1) {
308308
url = raw_url[menu_raw_fast][0] + href.replace('/blob/','@');
309309
} else {
310310
url = raw_url[menu_raw_fast][0] + href2;

0 commit comments

Comments
 (0)