From 1d1789d55c83f23e15bf0137c446e887ae7cd488 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Mon, 26 Aug 2024 14:10:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=82=AE=E7=AE=B1=E5=8D=A1?= =?UTF-8?q?=E4=BD=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/content.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/content.js b/lib/content.js index 39c66ef..4157049 100644 --- a/lib/content.js +++ b/lib/content.js @@ -212,9 +212,11 @@ async function mail(r, id) { mails[index].click(); RandomIntscrollBy(); await delay(getRandomInt(1, 5)); - console.log(mails_is_google[index].children[4].children[1].children[0].children[0].getAttribute("email")) + //.yP未读邮件 + // console.log(mails_is_google[index].getElementsByClassName('yX xY')[0].children[1].children[0].children[0].getAttribute("email")) + // console.log(mails_is_google[index].children[4].children[1].children[0].children[0].getAttribute("email")) //获取邮件发送人 - let mail_for = mails_is_google[index].children[4].children[1].children[0].children[0].getAttribute("email") + let mail_for = mails_is_google[index].getElementsByClassName('yX xY')[0].children[1].children[0].children[0].getAttribute("email") //是否回复 let whether_or_not_to_reply_to= searchStringContainsArrayKeywords(mail_for,['google','youtube','gbcloud']) //逻辑取反