We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f19ad0a commit 3e2bb3cCopy full SHA for 3e2bb3c
1 file changed
GithubEnhanced-High-Speed-Download.user.js
@@ -1,6 +1,6 @@
1
// ==UserScript==
2
// @name Github 增强 - 高速下载
3
-// @version 1.6.1
+// @version 1.6.2
4
// @author X.I.U
5
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
6
// @match *://github.com/*
@@ -284,7 +284,7 @@
284
// 添加 Raw 下载链接(☁)
285
function addRawDownLink() {
286
// 如果不是项目文件页面,就返回,如果网页有 Raw 下载链接(☁)就返回
287
- let files = document.querySelectorAll('div.Box-row svg.octicon.octicon-file');if(files.length === 0) return;
+ let files = document.querySelectorAll('div.Box-row svg.octicon.octicon-file');if(files.length === 0) return;if (location.pathname.indexOf('/tags') > -1) return
288
let files1 = document.querySelectorAll('a.fileDownLink');if(files1.length > 0) return;
289
290
// 鼠标指向则显示
0 commit comments