From 537eca72a1fdde01ef4c7f368409db52fc2ba36b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Wed, 24 Apr 2024 15:10:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index 8a760092..c244d14a 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -293,7 +293,7 @@ document.addEventListener("DOMContentLoaded", () => { let html = target.querySelector('input[value^="https:"]'); if (!html) return; if (!html.nextElementSibling) return false; - let href_split = html.value.replace(/https:\/\/\w+.\w+\//g, ''), + let href_split = html.value.replace(/https:\/\/\w+.\w+/g, ''), html_parent = '
', url = '', _html = '', _gitClone = ''; html.nextElementSibling.hidden = true; // 隐藏右侧复制按钮