From 19ac5dc60d095b1f21eb24b9a594e3e8d4be8a21 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Sun, 23 Apr 2023 12:32:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E6=8F=90=E4=BE=9B=E7=9A=84=20443=20=E7=AB=AF=E5=8F=A3=E7=9A=84?= =?UTF-8?q?=20SSH=20=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 9aeb26d..8088dc2 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.3.7 +// @version 2.3.8 // @author X.I.U // @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)、添加 git clone 命令 // @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁) @@ -74,8 +74,9 @@ //['https://hub.0z.gs', '美国', '[美国 Cloudflare CDN]'], //['https://hub.shutcm.cf', '美国', '[美国 Cloudflare CDN]'] ], clone_ssh_url = [ - ['git@ssh.fastgit.org', '香港', '[中国 香港] - 该公益加速源由 [FastGit] 提供'] - //['git@git.zhlh6.cn', '美国', '[美国 洛杉矶]'] + ['ssh://git@ssh.github.com:443/', 'Github 原生', '[日本、新加坡等] - Github 官方提供的 443 端口的 SSH(依然是 SSH 协议),适用于限制访问 22 端口的网络环境'], + ['git@ssh.fastgit.org:', '香港', '[中国 香港] - 该公益加速源由 [FastGit] 提供'] + //['git@git.zhlh6.cn:', '美国', '[美国 洛杉矶]'] ], raw_url = [ ['https://raw.githubusercontent.com', 'Github 原生', '[日本 东京]'], ['https://raw.iqiq.io', '香港', '[中国 香港] - 该公益加速源由 [iQDNS/iQZone] 提供 - 缓存:无(或时间很短)'], @@ -246,7 +247,7 @@ if (GM_getValue('menu_gitClone')) {_gitClone='git clone '; html.firstElementChild.value = _gitClone + html.firstElementChild.value;} for (let i=0;i
${svg[1]}
` + _html += `
${svg[1]}
` } html.insertAdjacentHTML('afterend', _html); }