Questions tagged [thunderbird-addon]

Thunderbird AddOns are extensions for the Mozilla Thunderbird email client, written in XUL and Javascript.

Thunderbird AddOns are extensions for the Mozilla Thunderbird email client. They are written mostly in XUL (a flavor of XML) and Javascript.


Useful links


Related tags

210 questions
2
votes
1 answer

How to make the html text incorporated into xul copyable?

I'm opening the xul as new tab in Thunderbird.
alehro
  • 2,198
  • 2
  • 25
  • 41
2
votes
0 answers

Legacy extension not loading on thunderbird-59

i'm trying to follow https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57#Removed_interfaces_in_mozilla57 to upgrade our extension to work a little bit longer. I'm testing with thunderbird 59.0.b2 and after not being able to refresh the source, i…
2
votes
1 answer

Thunderbird gFolderTreeView documentation?

I'm struggling to learn how Thunderbird extension works but I'm stuck by the lack of documentation. Inside an extension I found: gFolderTreeView._modeNames... ... gFolderTreeView.getFolderTreeMode(viewName); Google gives no help in trying to…
Filippo
  • 1,123
  • 1
  • 11
  • 28
2
votes
1 answer

How get header data from nsIMsgDBHdr in Thunderbird?

I'm trying to get a custom message from the nsIMsgDBHdr interface. let result = msgHdr.getProperty('x-custom'); But result is empty. I tried to register headers in the preferences but this has no effect. Please help.
Vitaliy Demchuk
  • 180
  • 1
  • 1
  • 9
2
votes
1 answer

Thunderbird Add-Ons Development in 2016? XUL recommended?

I am trying to get into Thunderbird extension development and do not find much or only a lot legacy information on that. I find a lot of information that extensions in Firefox and Thunderbird work the same, but: XPCOM/XUL based extension are not…
sewo
  • 330
  • 1
  • 3
  • 14
2
votes
1 answer

How to set the cursor position in nsIEditor/nsIPlaintextEditor via javascript in a Thunderbird extension?

I'm trying to create a simple Thunderbird extension which operates on plain/text messages when replying to a message. After applying modifications to current editor's content I need to place the cursor on a specific position, because now the cursor…
Thomas Szteliga
  • 402
  • 4
  • 15
2
votes
1 answer

How to intercept incoming email and retrieve message body in thunderbird

In my Thunderbird add-on I want to listen to new incoming emails and process the message body. So I have written a mailListener and added it to an instance of nsIMsgFolderNotificationService. The listener works fine and notifies when a mail comes. I…
Dileepa Jayakody
  • 535
  • 1
  • 6
  • 19
2
votes
1 answer

Thunderbird extension: add button in message reader toolbar

I'm trying to add a button in the message reader toolbar : I successfully added a button in the mail toolbar, using the chrome.manifest and XUL files. I just don't know how to access this particular toolbar. I have tried finiding it using the DOM…
Pierre Mourlanne
  • 316
  • 1
  • 7
  • 17
2
votes
2 answers

Getting mail sender in a Thunderbird extension

I am working on a very simple Thunderbird extension, which is supposed to alert the name of the sender along with the names of the recipients whenever a mail is sent. The problem is that gMsgCompose.compFields.from field is empty in the below…
supermedo
  • 572
  • 2
  • 4
  • 15
2
votes
1 answer

Make Tunderbird a bit more Apple-/Gmail-Like (Multi Line Mail List)

Is there any way to get Thunderbird to display the List of Messages like Gmail or Apple mail does? (First Line: Sender and Date/Time, Second Line: Subject)
Tobi
  • 1,175
  • 1
  • 19
  • 44
2
votes
1 answer

Get selected message data in Thunderbird extension

I need to get some e-mail message data in my Thunderbird extension. I found this example on MDN (https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIMsgMessageService): var content = ""; var MessageURI =…
noname
  • 551
  • 9
  • 29
2
votes
2 answers

How to get currently selected text from Thunderbird Message Composer

In Thunderbird's message composer, I need to use javascript to see if the user has selected any text, and optionally get that selected text. I tried this: var thisselection = window.getSelection(); alert("selection = " + thisselection.toString() );…
bgmCoder
  • 6,205
  • 8
  • 58
  • 105
2
votes
1 answer

Stop Email From Sending

I am working on writing an add-on for Thunderbird and would like to be able to cancel the sending of an email under certain conditions. I have the following code which allows me to execute code before the email is sent, but I don't know how to stop…
Daniel
  • 794
  • 10
  • 20
2
votes
2 answers

Adding a toolbar button to a Thundebird Compose Message window

Anyone had any luck adding a custom toolbar button to the Compose window of Thunderbird or know of an example plugin that does it? I'm new to Thunderbird development and haven't had any luck getting…
Gerry
  • 1,031
  • 1
  • 14
  • 30
1
vote
1 answer

Calling Firefox XPCOM component from Thunderbird extension

I'm doing a Thunderbird extension that will get the stored username/password in Firefox and import those accounts into Thunderbird. This results in the need of nsILoginManager, but I'm not sure how to make it work from a Thunderbird extension. Is it…
wayne
  • 191
  • 1
  • 1
  • 9
1 2
3
13 14