gmail.js: send_message event stopped working
It is still something to be confirmed, but I can see that both send_message and send_scheduled_message does not work anymore.
These hooks are now never triggered:
this.gmail.observe.before("send_message", (url: string, body: string, data: Mail) => {});
this.gmail.observe.before("send_scheduled_message", (url: string, _body: string, data: Mail) => {});
Browser differences
- Works fine in Firefox
- Does not work in Chrome (with the same Google account)
I can see there is different parameters passed in URL - Chrome v105
Firefox v104

I am trying to investigate if it is payload or somethingā¦
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 22 (10 by maintainers)
Commits related to this issue
- fix: detect and parse send message payload, fixes #722 — committed to huksley/gmail-js by huksley 2 years ago
- fix: detect and parse send message payload, fixes #722 — committed to huksley/gmail-js by huksley 2 years ago
- fix: detect and parse send message payload, fixes #722 (#723) — committed to huksley/gmail-js by huksley 2 years ago
Some users reports that older algorithm is back and older version of my extension works fineā¦