From d45b793b1823ad7bcc11dda1194465ec41984140 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E8=89=AF?= <841369634@qq.com> Date: Tue, 11 Mar 2025 12:07:49 +0800 Subject: [PATCH] =?UTF-8?q?Github=E6=B2=B9=E7=8C=B4=E8=84=9A=E6=9C=AC?= =?UTF-8?q?=EF=BC=9A=E6=96=B0=E5=A2=9E=E9=BC=A0=E6=A0=87=E7=A7=BB=E5=88=B0?= =?UTF-8?q?release=E4=B8=8B=E8=BD=BD=E6=8C=89=E9=92=AE=E4=B8=8A=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GithubEnhanced-High-Speed-Download.user.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/GithubEnhanced-High-Speed-Download.user.js b/GithubEnhanced-High-Speed-Download.user.js index fa58519..9225d49 100644 --- a/GithubEnhanced-High-Speed-Download.user.js +++ b/GithubEnhanced-High-Speed-Download.user.js @@ -226,6 +226,12 @@ document.addEventListener("DOMContentLoaded", () => { // Release function addRelease() { let html = document.querySelectorAll('.Box-footer'); if (html.length == 0 || location.pathname.indexOf('/releases') == -1) return + + // li:hover 鼠标悬停变色 + let style = document.createElement('style'); + style.innerHTML = '.Box-footer ul li.Box-row:hover { background-color: var(--bgColor-muted); }'; + document.head.appendChild(style); + let divDisplay = 'margin-left: -90px;', new_download_url = get_New_download_url(); if (document.documentElement.clientWidth > 755) {divDisplay = 'margin-top: -3px;margin-left: 8px;display: inherit;';}; // 调整小屏幕时的样式 for (const current of html) {