From 9c3576a201724f1ff51dc3df18d370331dfe30b3 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 23 Mar 2022 13:33:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20fastgit=20=E5=9F=9F?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 230ffad..0a0be3a 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -3,14 +3,14 @@ // @name:zh-CN Github 增强 - 高速下载 // @name:zh-TW Github 增強 - 高速下載 // @name:en Github Enhancement - High Speed Download -// @version 1.9.0 +// @version 1.9.1 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) // @description:zh-TW 高速下載 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、項目列表單文件快捷下載 (☁) // @description:en High-speed download of Git Clone/SSH, Release, Raw, Code(ZIP) and other files, project list file quick download (☁) // @match *://github.com/* -// @match *://hub.fastgit.org/* +// @match *://hub.fastgit.xyz/* // @icon https://i.loli.net/2021/03/30/ULV9XunaHesqGIR.png // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand @@ -34,6 +34,7 @@ ['https://gh.xiu.workers.dev/https://github.com', '美国 2', '美国 Cloudflare CDN - 该公益加速源由 XIU2(本脚本作者) 提供'], //['https://gh.api.99988866.xyz/https://github.com', '美国 2', '美国 Cloudflare CDN'], //['https://github.rc1844.workers.dev', '美国 3', '美国 Cloudflare CDN'], + //['https://gh-rep.mirr.one', '美国', '美国 Cloudflare CDN'], ['https://ghgo.feizhuqwq.workers.dev/https://github.com', '美国 3', '美国 Cloudflare CDN'], ['https://git.yumenaka.net/https://github.com', '美国 4', '美国 圣何塞'], ['https://gh.ddlc.top/https://github.com', '美国 5', '美国 Cloudflare CDN - 该公益加速源由 @mtr-static-official 提供'], @@ -44,10 +45,11 @@ ], clone_url = [ ['https://github.do/https://github.com', '国内', '中国 国内 - 该公益加速源由 小麦云服 提供'], - //['https://gitclone.com', '国内', ''], + //['https://gitclone.com', '国内', '中国 国内'], ['https://api.mtr.pub', '香港', '中国 香港 - 该公益加速源由 @mtr-static-official 提供'], ['https://hub.fastgit.xyz', '日本', '日本 东京 - 该公益加速源由 FastGit 提供'], ['https://ghproxy.com/https://github.com', '韩国', '韩国 首尔'], + ['https://gh.gcdn.mirr.one', '俄罗斯', '俄罗斯 G-Core Labs CDN'], ['https://hub.0z.gs', '美国', '美国 Cloudflare CDN'], ['https://hub.shutcm.cf', '美国', '美国 Cloudflare CDN'] ], @@ -68,6 +70,7 @@ ['https://raw.fastgit.org', '日本 3', '日本 东京 - 该公益加速源由 FastGit 提供 注意: - 单个文件太大时可能会提示超时(实时获取中),请重试。'], //['https://cdn.jsdelivr.net/gh', '美国', '注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], ['https://gcore.jsdelivr.net/gh', '其他 1', '该公益加速源由 JSDelivr 提供 适合 [移动/电信] 用户,移动走香港,电信走日本。 注意: - 该加速源存在缓存机制(24小时),所以文件可能不是最新。 - 该加速源不支持大小超过 50 MB 的文件。 - 当前 分支名 为版本号格式时(如 v1.2.3),该高速下载链接因格式限制不可用。'], + //['https://raw-gh.gcdn.mirr.one', '俄罗斯', '俄罗斯 G-Core Labs CDN'], ['https://raw.githubusercontents.com', '其他 2', '该加速源有香港、新加坡、美国等服务器,并不固定。 - 该加速源不支持大小超过 1 MB 的文件。'] ], svg = [ @@ -153,7 +156,7 @@ // 循环生成 HTML 标签 for (let i=0;i -1) url = url.replace('https://download.fastgit.org','https://archive.fastgit.org') _html += `${download_url[i][1]}` @@ -174,7 +177,7 @@ for (let i=0;i -1) url = url.replace('https://download.fastgit.org','https://archive.fastgit.org') _html += `
  • ${svg[0]}Download ZIP ${download_url[i][1]}
  • `