From 5f33811ea85c4d82d7c7197a966dca3a2622f478 Mon Sep 17 00:00:00 2001 From: xiu2 <54703944+XIU2@users.noreply.github.com> Date: Wed, 21 Oct 2020 17:20:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E9=83=A8=E5=88=86?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E5=8A=A8=E6=80=81=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=90=8E=E6=B2=A1=E6=9C=89=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=AB=98=E9=80=9F=E4=B8=8B=E8=BD=BD=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 41917d5..15f6d9b 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -1,8 +1,8 @@ // ==UserScript== // @name Github 增强 - 高速下载 -// @version 1.1.3 +// @version 1.1.4 // @author X.I.U -// @description 高速下载 Clone、Release、Raw、Code(ZIP) +// @description 为 Github 的 Clone、Release、Raw、Code(ZIP) 添加高速下载 // @match https://github.com/*/* // @match https://github.com/*/*/releases // @match https://github.com/*/*/releases/* @@ -54,6 +54,9 @@ setTimeout(addDownLink, 2000); // 添加 Raw 下载链接(添加到项目页文件名称后面),延迟 2 秒执行,避免被 pjax 刷掉 $(document).on('pjax:success',function(evt){ + addRelease(); // Release 加速 + addDownloadZIP(); // Source Code 加速 + addGitClone(); // Download ZIP/Code(ZIP) 加速 addRawFile(); // pjax 事件发生后,添加 Raw 加速按钮 及 Raw 下载链接 setTimeout(addDownLink, 2000); // 延迟 2 秒执行,避免被 pjax 刷掉 });