diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js
index 9404b7b..482ad4d 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:ru Улучшение GitHub – быстрое скачивание
-// @version 2.6.23
+// @version 2.6.24
// @author X.I.U
// @description High-speed download of Git Clone/SSH, Release, Raw, Code(ZIP) and other files (Based on public welfare), project list file quick download (☁)
// @description:zh-CN 高速下载 Git Clone/SSH、Release、Raw、Code(ZIP) 等文件 (公益加速)、项目列表单文件快捷下载 (☁)
@@ -307,7 +307,7 @@
} else {
url = new_download_url[i][0] + href[1]
}
- _html += `${new_download_url[i][1]}`
+ _html += `${new_download_url[i][1]}`
}
_this.parentElement.nextElementSibling.insertAdjacentHTML('beforeend', _html + '');
});
@@ -337,7 +337,9 @@
url = new_download_url[i][0] + href
}
html_clone_a.href = url
- html_clone_a.setAttribute('title', new_download_url[i][2].replaceAll('
','\n'))
+ html_clone_a.setAttribute('title', new_download_url[i][2].replaceAll('
','\n') + '\n\n提示:如果不想要点击链接在前台打开空白新标签页(一闪而过影响体验),\n可以 [鼠标中键] 或 [Ctrl+鼠标左键] 点击加速链接即可在后台打开新标签页!');
+ html_clone_a.setAttribute('target', '_blank');
+ html_clone_a.setAttribute('rel', 'noreferrer noopener nofollow');
html_clone_span.textContent = 'Download ZIP ' + new_download_url[i][1]
_html += html_clone.outerHTML
}
@@ -420,7 +422,7 @@
} else {
url = raw_url[i][0] + href2;
}
- _html += `${raw_url[i][1].replace(/ \d/,'')}`
+ _html += `${raw_url[i][1].replace(/ \d/,'')}`
}
if (document.querySelector('.XIU2-RF')) document.querySelectorAll('.XIU2-RF').forEach((e)=>{e.remove()})
html.insertAdjacentHTML('afterend', _html);
@@ -465,7 +467,7 @@
url = raw_url[menu_rawFast][0] + href2;
}
- fileElm.insertAdjacentHTML('afterend', `${svg[0]}`);
+ fileElm.insertAdjacentHTML('afterend', `${svg[0]}`);
// 绑定鼠标事件
trElm.onmouseover = mouseOverHandler;
trElm.onmouseout = mouseOutHandler;