From 67a80b8d736a32038571a74234ed4ed00e343b47 Mon Sep 17 00:00:00 2001 From: jason Date: Wed, 4 Mar 2026 00:27:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=82=B9=E5=87=BB=E5=AE=A2=E6=88=B7?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=B7=B3=E8=BD=AC=E5=90=8E=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=8F=92=E4=BB=B6=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- popup.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/popup.js b/popup.js index e39355c..c323fff 100644 --- a/popup.js +++ b/popup.js @@ -529,10 +529,10 @@ document.addEventListener('DOMContentLoaded', () => { username: rule.username, password: rule.password }, (response) => { - // Return text after a short delay + // 提供短暂的“清理中...”视觉反馈后关闭插件 setTimeout(() => { - if (element) element.innerHTML = originalContent; - }, 1500); + window.close(); + }, 1500); // 保持 1500ms 反馈后关闭,也可改为更短如 200ms,为保持原逻辑体验暂设 1500ms }); } }