fix: 修复 2925 收件模式轮询与重复注入

- receive 模式下跳过 2925 邮箱页顶部账号校验
- 解析 bounce 转发地址与中文日期,避免误过滤验证码邮件
- 为内容脚本增加重复注入保护,避免重复声明导致轮询失效
This commit is contained in:
Isulew
2026-04-27 13:57:51 +08:00
parent c98cfd7053
commit b71bccaf8a
6 changed files with 74 additions and 7 deletions
+4
View File
@@ -69,6 +69,10 @@
}
function getExpectedMail2925MailboxEmail(state = {}) {
if (String(state?.mail2925Mode || '').trim().toLowerCase() === 'receive') {
return '';
}
if (Boolean(state?.mail2925UseAccountPool)) {
const currentAccountId = String(state?.currentMail2925AccountId || '').trim();
const accounts = Array.isArray(state?.mail2925Accounts) ? state.mail2925Accounts : [];