Chrome Dev Toolsを使用して、GMAILに読み込まれたすべてのスクリプト内を検査/検索しているときに、このコードを見つけました
if (!a && !c) {
c = m_c(this, d, b, this.Jk);
c = hZc(new cZc(this.rv(b)), c, b, "");
if (Ea(c))
c = null ;
else {
var e = this.Yp.zi("sx_dl"),
d = "see attached|see attachment|see included|is attached|attached is|are attached|attached are|attached to this email|attached to this message|I'm attaching|I am attaching|I've attached|I have attached|I attach|I attached|find attached|find the attached|find included|find the included|attached file|see the attached|see attachments|attached files|see the attachment";
/^(zh|ja|ko)/.exec(e) ? d = "(" + d + ")" : (e = /[^!-~\s]/.exec(c) ? "(?:[\\s!-/:-@[-`{-~])" : "\\b",
d = e + "(" + d + ")" + e);
c = (c = (new RegExp(d,"i")).exec(c)) ?
c[1] : null
}
if (c) {
(d = !this.bx.dIa('It seems like you have forgotten to attach a file.\n\nYou wrote "' + (c + '" in your message, but there are no files attached. Send anyway?'))) ? this.Tq.ra(fRa, c.toLowerCase()) : this.Tq.ra(cRa, c.toLowerCase());
c = d;
break a
}
}
コードを注意深く観察すると、GMAILが一致する単語だという
see attached
see attachment
see included
is attached
attached is
are attached
attached are
attached to this email
attached to this message
I'm attaching
I am attaching
I've attached
I have attached
I attach
I attached
find attached
find the attached
find included
find the included
attached file
see the attached
see attachments
attached files
see the attachment
とアラート It seems like you have forgotten to attach a file. You wrote <matched words> in your message, but there are no files attached. Send anyway?