Skip to content

Commit 57998e5

Browse files
committed
优化 代码
1 parent dfeb175 commit 57998e5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

GithubEnhanced-High-Speed-Download.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name Github 增强 - 高速下载
3-
// @version 1.7.0
3+
// @version 1.7.1
44
// @author X.I.U
55
// @description 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件、项目列表单文件快捷下载 (☁)
66
// @match *://github.com/*
@@ -37,8 +37,8 @@
3737
}
3838
const download_url = [
3939
['https://pd.zwc365.com/seturl/https://github.com', '美国 1'],
40-
['https://gh.api.99988866.xyz/https://github.com', '美国 2'],
41-
['https://gh.xiu2.xyz/https://github.com', '美国 3'],
40+
['https://gh.xiu2.xyz/https://github.com', '美国 2'],
41+
['https://gh.api.99988866.xyz/https://github.com', '美国 3'],
4242
['https://github.rc1844.workers.dev', '美国 4'],
4343
['https://download.fastgit.org', '日本'],
4444
['https://ghproxy.com/https://github.com', '韩国'],
@@ -168,7 +168,7 @@
168168
}
169169

170170
for (let i=0;i<url.length;i++) {
171-
_html += `<li class="Box-row Box-row--hover-gray p-3 mt-0 XIU2-DZ"><a class="d-flex flex-items-center color-text-primary text-bold no-underline" rel="nofollow" href="${url[i]}">${svg[0]}Download ZIP ${download_url[i][1]}</a></li>`
171+
_html += `<li class="Box-row Box-row--hover-gray p-3 mt-0 XIU2-DZ"><a class="d-flex flex-items-center color-text-primary text-bold no-underline" rel="noreferrer nofollow" href="${url[i]}">${svg[0]}Download ZIP ${download_url[i][1]}</a></li>`
172172
}
173173
html.insertAdjacentHTML('afterend', _html);
174174
}

0 commit comments

Comments
 (0)