4 ms·
if($('email-body').value.match(/I have (attached|included)/i)) { confirm('Did you mean to send an attachment?') }
by lsb 16y ago
if($('email-body').value.match(/I have (attached|included)/i)) {
confirm('Did you mean to send an attachment?')
}
- aswanson 16y agoOh cmon man that's disingenuous. Detection of a user choice of an attachment is conscious transmittal of intent. Message analysis is a different layer of intrusion.