So I'm very new with Chrome Extension and I'd like to build one. I haven't done steps yet such as the manifestation, background, etc.
But basically, this is about emails and its recipient.
I want a pop-up alert when there are multiple recipients which have different domains detected in TO or CC or BCC section after hitting the "Send" button, like a message.
For example:
*Multiple domains detected: -@gmail.com -@yahoo.com -@hotmail.com
Are you use you want to send this? Yes / No
Then it will sort of give the user to ignore it and proceed with sending of email and if they hit No, the message will not be sent.
I'm not sure how this would be possible. I've been reading a lot of stuff online regarding pop-up alerts but I'm not sure how to build this.
What I have tried:
I'm not sure if the action pop (
chrome.action | API | Chrome for Developers[
^]) could do this because it seems that this is a simple "if I see a website that matches, I show the pop-up".
Do you have any idea how it can be done? Like for example, I'm using Gmail and I'd send an email, then it read the recipients.