thunderbird-webextensions

Thunderbird Webextensions Plug-In get a messageList

假装没事ソ 提交于 2021-02-20 05:03:51
问题 I already tried different things to get a list of mails from my inbox folder in Thunderbird. let page = await browser.messages.list(folder); But how to declare folder ? MailFolder is explained in Thunderbird Docs, but how do i get accountId (string) The account this folder belongs to. path (string) Path to this folder in the account. Although paths look predictable, never guess a folder’s path, as there are a number of reasons why it may not be what you think it is. [name] (string) The human

Thunderbird Webextensions Plug-In get a messageList

自古美人都是妖i 提交于 2021-02-20 05:01:17
问题 I already tried different things to get a list of mails from my inbox folder in Thunderbird. let page = await browser.messages.list(folder); But how to declare folder ? MailFolder is explained in Thunderbird Docs, but how do i get accountId (string) The account this folder belongs to. path (string) Path to this folder in the account. Although paths look predictable, never guess a folder’s path, as there are a number of reasons why it may not be what you think it is. [name] (string) The human

Thunderbird78+: How to check for message create, reply and forward

老子叫甜甜 提交于 2021-01-29 07:07:56
问题 I am a beginner in thunderbird addons so I really appreciate if you can help me. I am trying to find a way in my background javascript to check whenever a user has opened the window for create a new message, reply a message and forward a message. I want to put a default text in the message window before the user is gonna send it. I know thunderbird 78+ should only uses web extension APIs and i found this Compose API but how to use it in my background script. https://thunderbird-webextensions

How to write a Thunderbird extension (webextension) to modify the message display?

心已入冬 提交于 2020-01-15 11:36:09
问题 I'd like to write an extension for Thunderbird that modifies the message display (e.g. insert/replace text/markup/image). Unfortunately, the documentation is lacking (due to recent changes?). https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Thunderbird_extensions is outdated https://developer.thunderbird.net/ does not have useful examples (yet) https://thunderbird-webextensions.readthedocs.io/ no examples either Some examples can be found at https://github.com/thundernest/sample