Questions tagged [thunderbird-webextensions]

For extensions for the Mozilla Thunderbird e-mail client.

"MailExtensions" are WebExtensions with some added features specific to Thunderbird. WebExtensions is the current type of Extension used for Firefox and Chrome. Unlike how extensions once were, MailExtensions don't have complete access to Thunderbird's internal components and UI, but instead are able to access functionality through the use of APIs.

32 questions
0
votes
0 answers

How to get folder object in Thunderbirds Webextention API

I want to build a little extension for myself that allows me to copy a message to different folders in my mail account in Thunderbird. I tried to follow https://webextension-api.thunderbird.net/en/91/index.html First I used…
MDoe
  • 163
  • 1
  • 13
0
votes
0 answers

Execute some plugin actions in Firefox/Thunderbird when asked by an external program

I would like to develop a really simple addon in Thunderbird (based on Firefox addons) that executes an action when I type some commands. Ideally I'd either type something like: $ thunderbird -myplugin someArgs or $ curl…
0
votes
0 answers

Is there a Thunderbird keyboard shortcut to add sender to block list?

Thunderbird has instructions here on how to add a sender to filter "block list". I was wondering if anyone has a solution to bind this action to a keyboard shortcut? I would love to have a solution where I could just press a key, and automatically…
jbeard4
  • 12,664
  • 4
  • 57
  • 67
0
votes
1 answer

Send data to thunderbird Add-on from chrome extension

Is there a way to send data/messages from the chrome extension to the thunderbird add-on? I didn't find any API.
0
votes
1 answer

Thunderbird WebExtensions / MailExtensions development - How to deal with events such as "new mail"?

I'm trying to write my very first Thunderbird extension. If possible, I'd like to only use the newer WebExtensions / MailExtensions APIs. Two things my extension needs to do: Performs an action when a new mail arrives and is not junk. When a…
electrotype
  • 8,342
  • 11
  • 59
  • 96
0
votes
1 answer

Thunderbird extension unexpectedly stops execution

Something strange is happening in an extension I'm building in Thunderbird. I've pinpointed it to a very specific example. This example works fine in a regular node.js environment, but in Thunderbird it simply stops execution at a random point in…
0
votes
1 answer

How to execute / access local file from Thunderbird WebExtension?

I like to write a Thunderbird AddOn that encrypts stuff. For this, I already extracted all data from the compose window. Now I have to save this into files and run a local executable for encryption. But I found no way to save the files and execute…
0
votes
1 answer

Is it possible to update filter rules in Thunderbird via custom extension?

Hi and thank you for your attention. I want to create an extension for Mozilla Thunderbird that implement some sort of black list. It is possible to create filter rules for mails and I want to add a button which create filter rule for selected mail.…
0
votes
1 answer

Send mail with Thunderbird MailExtension

Is it possible for a Thunderbird Add-On to send a message that it initiated by compose.beginReply? I added a message_display_button in manifest.json. The following is the background-script, which opens a reply after clicking that button, adds some…
0
votes
1 answer

Thunderbird extensions API - how to get message that's being replied to?

I'm writing a Thunderbird extension that is currently able to trigger when a compose window is created (by listening to when a new tab is created, and then checking the contents of that tab for ComposeDetails). However, what I need is to know if the…
Cassandra Gelvin
  • 225
  • 1
  • 3
  • 10
0
votes
2 answers

Support localization in HTML pages (popup/content/options)

Is there an easy way make popup/content/options pages multilingual? The documentation gave me an impression that the only way is to use JS to add localized strings into html. This would make things very cumbersome and complicated (each node would…
0
votes
0 answers

Create Thunderbird Extensiom to lock client

I have never created any kind of extension and I would like to create one for Thunderbird that can password protect the Thunderbird client. Similar to something like Master…
Gary
  • 318
  • 3
  • 14
0
votes
1 answer

Difference of the "Browser." and "Messenger." when using a webextension/javascript API

Good day, I am new to using webextension and javascript apis. Just wondering what is the difference of using messsenger.(API) and Browser.(API)
kenjiro jaucian
  • 391
  • 1
  • 3
  • 10
0
votes
1 answer

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

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…
0
votes
1 answer

Thunderbird 78+:Undefined Components.classes in thunderbird addon

Good day, I am working on a mozilla thunderbird addon and would like to make use of the components class. I know the current version of thunderbird is now 78+ so instead of XUL, I should be using HTML then from there make use of javascripts along…