|
3 | 3 | // @name:zh-CN Github 增强 - 高速下载 |
4 | 4 | // @name:zh-TW Github 增強 - 高速下載 |
5 | 5 | // @name:en Github Enhancement - High Speed Download |
6 | | -// @version 2.2.1 |
| 6 | +// @version 2.2.2 |
7 | 7 | // @author X.I.U |
8 | 8 | // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) |
9 | 9 | // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) |
|
34 | 34 | ['https://gh.ddlc.top/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@mtr-static-official] 提供'], // 2023-01-14 |
35 | 35 | ['https://gh2.yanqishui.work/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [@HongjieCN] 提供'], |
36 | 36 | ['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]'], |
38 | 38 | ['https://gh.flyinbug.top/gh/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [Mintimate] 提供'], |
39 | 39 | ['https://github.91chi.fun/https://github.com', '美国', '[美国 Cloudflare CDN]'], |
40 | 40 | ['https://proxy.zyun.vip/https://github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [知了小站] 提供'], |
41 | 41 | ['https://git.xfj0.cn/https://github.com', '美国', '[美国 Cloudflare CDN]'], |
42 | 42 | ['https://gh.con.sh/https://github.com', '美国', '[美国 Cloudflare CDN]'], |
43 | 43 | ['https://ghps.cc/https://github.com', '美国', '[美国 Cloudflare CDN]'], |
44 | 44 | ['https://cors.isteed.cc/github.com', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [Lufs\'s] 提供'], |
45 | | - ['https://cdn.githubjs.cf', '美国', '[美国 Cloudflare CDN]'], |
| 45 | + //['https://cdn.githubjs.cf', '美国', '[美国 Cloudflare CDN]'], |
46 | 46 | //['https://download.njuu.cf', '美国', '[美国 拉斯维加斯] - 该公益加速源由 [LibraryCloud] 提供'], |
47 | 47 | ['https://download.yzuu.cf', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [LibraryCloud] 提供'], |
48 | 48 | ['https://download.nuaa.cf', '美国', '[美国 Cloudflare CDN] - 该公益加速源由 [LibraryCloud] 提供'] |
|
261 | 261 | url = '', _html = ''; |
262 | 262 |
|
263 | 263 | 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) { |
265 | 265 | url = raw_url[i][0] + href.replace('/blob/','@'); |
266 | 266 | } else { |
267 | 267 | url = raw_url[i][0] + href2; |
|
304 | 304 | Name = cntElm_a.innerText, |
305 | 305 | href = cntElm_a.getAttribute('href'), |
306 | 306 | 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) { |
308 | 308 | url = raw_url[menu_raw_fast][0] + href.replace('/blob/','@'); |
309 | 309 | } else { |
310 | 310 | url = raw_url[menu_raw_fast][0] + href2; |
|
0 commit comments