You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the API documentation, messageDisplay (https://webextension-api.thunderbird.net/en/latest/messageDisplay.html) is still supported in TB 128. However, when I try to load the messageDisplay or messageDisplayScript example as a temporary add-on, I encounter the following error:
TypeError: browser.messageDisplay.onMessageDisplayed is undefined
Am I overlooking something here?
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
In Manifest V3 we only have browser.messageDisplay.onMessagesDisplayed (plural). I will check what is wrong with the example. Thanks for flagging this.
Thanks for the quick response! Switching from onMessageDisplayed to onMessagesDisplayed does resolve the TypeError, but the script's behavior seems incorrect. It only calls the listener once with an empty message, rather than every time a message is displayed as described in the API documentation.
Hi,
According to the API documentation,
messageDisplay
(https://webextension-api.thunderbird.net/en/latest/messageDisplay.html) is still supported in TB 128. However, when I try to load themessageDisplay
ormessageDisplayScript
example as a temporary add-on, I encounter the following error:Am I overlooking something here?
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: