From 9b4fa7188f88f9c89f76a87d037f6128e2ef7795 Mon Sep 17 00:00:00 2001 From: QLHazyCoder <2825305047@qq.com> Date: Fri, 10 Apr 2026 19:04:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=20mail.163.com=20?= =?UTF-8?q?=E7=9A=84=E5=AD=90=E5=9F=9F=E5=90=8D=E5=8C=B9=E9=85=8D=EF=BC=8C?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=82=AE=E7=AE=B1=E5=A4=84=E7=90=86=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- background.js | 2 +- manifest.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/background.js b/background.js index 673f9f4..2bf1d8b 100644 --- a/background.js +++ b/background.js @@ -249,7 +249,7 @@ function matchesSourceUrlFamily(source, candidateUrl, referenceUrl) { case 'qq-mail': return candidate.hostname === 'mail.qq.com' || candidate.hostname === 'wx.mail.qq.com'; case 'mail-163': - return candidate.hostname === 'mail.163.com'; + return candidate.hostname === 'mail.163.com' || candidate.hostname.endsWith('.mail.163.com'); case 'inbucket-mail': return Boolean(reference) && candidate.origin === reference.origin diff --git a/manifest.json b/manifest.json index 7d486ff..355579a 100644 --- a/manifest.json +++ b/manifest.json @@ -42,7 +42,8 @@ }, { "matches": [ - "https://mail.163.com/*" + "https://mail.163.com/*", + "https://*.mail.163.com/*" ], "js": ["content/utils.js", "content/mail-163.js"], "all_frames": true,