修复邮箱卡住问题

This commit is contained in:
lingling 2024-08-26 14:10:07 +08:00
parent 499c1bd27c
commit 1d1789d55c
1 changed files with 4 additions and 2 deletions

View File

@ -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'])
//逻辑取反