New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
send_message
events not working
#601
Comments
That is correct. After Google launched new Gmail, we've only been able to semi-reliably support the |
Maybe we should create a list of events which are working with new Gmail UI, so that these kind of similar questions can be avoided. |
That’s a good idea. We should definitely update our documentation. Not sure when I’ll have time, but I do agree this needs to be done. |
I think this function here is pretty indicative of what has been implemented: Lines 1118 to 1153 in f5f5474
If anyone wants to take a stab at this, PRs are definitely welcome. |
@josteink, Thanks for pointing out above code. Will try if I can resolve some of these and create PR. |
Great! 🍾 That list may not be a complete, but it should be a start. If you check where this function is used, you should be able to find the rest of the events we support and how we detect them. PRs are always welcome! |
Hi there, has this issue been fixed? I need to do something after sending the email, how can I do that now? Thanks! |
The It's |
Thanks @josteink . I tried this |
Have you tried waiting up to 2 minutes? (The default Gmail cancellalable send length)? |
yes, I did wait for 2 minutes but still didn't see the console log. |
Hi there, could you please tell me, is after("send_message") was fixed? because I have waited around 30 minutes and nothing happens. Somebody know about this issue? |
I'm using it in a production extension and it work for me. Could it be an error in your extension implementation? You are using this from a injected script right, and not from the content-script? Are you seeing any errors in your web-console which could explain the event not firing correctly? |
I'm using it in the observe.on('load') function in my index.js file, where I'm also use recipient_change method and it works well. |
Is |
It's injected script. |
Then I honestly don't know why it's not working, and I'm working blindly here. Right now I have nothing to go by, and from what I can tell nothing is broken in gmail.js, since things are working in my extensions. If you can provide a minimal example of a extension (or just use the boilerplate-repo?) which demonstrates how this fails for you, I can test that and see if I can reproduce, but if not, I'm not sure there's much more I can do on my end. |
I am trying to create some sample extension using the library. But
send_message
event don't seem to fire for 'on' and 'before' either.Here is sample I am trying
The text was updated successfully, but these errors were encountered: