From dc468f36f42f6a37739e40fbfb11c03f57d75ea4 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Thu, 17 Aug 2023 21:05:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20[=E6=B7=BB=E5=8A=A0=20git?= =?UTF-8?q?=20clone=20=E5=91=BD=E4=BB=A4]=20=E6=B2=A1=E6=9C=89=E7=BB=99?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E4=B8=AA=E5=A4=8D=E5=88=B6=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20git=20clone=20=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index e5f1694..f49f8fe 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -3,7 +3,7 @@ // @name:zh-CN Github 增强 - 高速下载 // @name:zh-TW Github 增強 - 高速下載 // @name:en Github Enhancement - High Speed Download -// @version 2.4.2 +// @version 2.4.3 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -59,6 +59,7 @@ ['https://kgithub.com', '新加坡', '[新加坡] - 该公益加速源由 [KGitHub] 提供 提示:如果速度可以接受,希望大家尽量多使用前面的美国节点(每次随机 4 个来负载均衡), 避免流量都集中到亚洲公益节点,减少成本压力才能运营更持久~'] ], clone_url = [ ['https://gitclone.com', '国内', '[中国 国内] - 该公益加速源由 [GitClone] 提供 - 缓存:有 - 首次比较慢,缓存后较快'], + ['https://hub.fgit.cf', '香港', '[中国 香港] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://hub.fgit.gq', '越南', '[越南] - 该公益加速源由 [FastGit 群组成员] 提供'], ['https://kgithub.com', '新加坡', '[新加坡] - 该公益加速源由 [KGitHub] 提供 - 缓存:无(或时间很短)'], ['https://github.moeyy.xyz/https://github.com', '新加坡', '[新加坡、香港、日本等](CDN 不固定) - 该公益加速源由 [Moeyy] 提供 - 缓存:无(或时间很短)'], @@ -77,6 +78,7 @@ ], raw_url = [ ['https://raw.githubusercontent.com', 'Github 原生', '[日本 东京]'], ['https://raw.iqiq.io', '香港', '[中国 香港] - 该公益加速源由 [iQDNS/iQZone] 提供 - 缓存:无(或时间很短)'], + //['https://raw.fgit.cf', '香港', '[中国 香港] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 暂无必要 //['https://raw.fgit.gq', '越南', '[越南] - 该公益加速源由 [FastGit 群组成员] 提供 - 缓存:无(或时间很短)'], // 暂无必要 ['https://raw.kgithub.com', '新加坡', '[新加坡] - 该公益加速源由 [KGitHub] 提供 - 缓存:无(或时间很短)'], ['https://ghproxy.com/https://raw.githubusercontent.com', '韩国', '[日本、韩国、德国等](CDN 不固定) - 该公益加速源由 [ghproxy] 提供 - 缓存:无(或时间很短)'], @@ -224,7 +226,7 @@ let href_split = html.firstElementChild.value.split(location.host), url = '', _html = '', _gitClone = ''; - if (GM_getValue('menu_gitClone')) {_gitClone='git clone '; html.firstElementChild.value = _gitClone + html.firstElementChild.value;} + if (GM_getValue('menu_gitClone')) {_gitClone='git clone '; html.firstElementChild.value = html.querySelector('clipboard-copy').value = _gitClone + html.firstElementChild.value;} for (let i=0;i
${svg[1]}
` }