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
1
vote
0 answers

How can I display an overlay in Mozilla Thunderbird 52 within the email composer?

I'm building a timer that will show how long you've spent writing an email, but so far have only gotten it to show up at the bottom of the main screen. The timer works fine, but I haven't found the right path to overlay on the composer window, not…
1
vote
0 answers

Disable XUL cache in Thunderbird 60

In previous Thunderbird version (52) i disable XUL cache via about:config settings nglayout.debug.disable_xul_cache=TRUE. In Thunderbird 60 this option not working and i have to reinstall addon to see the changes. How to see the changes during the…
Vitaliy Demchuk
  • 180
  • 1
  • 1
  • 9
1
vote
3 answers

Manipulating image data in Firefox extension

In my extension I'd like to manipulate some images. So I'm trying to read their raw pixels using canvas. The problem is that if, in chrome code, I execute (img is an image in a content document): var src =…
CAFxX
  • 28,060
  • 6
  • 41
  • 66
1
vote
1 answer

Thunderbird extension. Add field to messagePane. How to deal with windows instances?

I'm developing TB extension. I've added field to messagePane just below "from, subject, to" fields. So I need to update the field value correctly. I'm getting the value from msgHdr. My current approach is to listen "load" event of the messagePane…
alehro
  • 2,198
  • 2
  • 25
  • 41
1
vote
1 answer

How use original jQuery library in other modules in the Thunderbird extension

I'm trying to add the jQuery library in the javascript module jquery.jsm. I'm using jquery.jsm in other modules. jQuery requires a window object, so I can not use the original jQuery code. I need to define a window object. jquery.jsm: const…
Vitaliy Demchuk
  • 180
  • 1
  • 1
  • 9
1
vote
1 answer

How to display the body of an email with a thunderbird-addon?

This is my code : var newMailListener = { msgAdded: function(aMsgHdr) { if(!aMsgHdr.isRead) { gFolderDisplay.selectMessage(aMsgHdr); var uri = gFolderDisplay.selectedMessageUris; alert(uri); msgHdr =…
1
vote
1 answer

Can a Firefox/Thunderbird Extension modify a printed page?

I'm writing a Thunderbird extension that performs a translation of the current message on demand. The translation is appended to the HTML in the message view pane (so it is not persistent). Can a Thunderbird (or Firefox) extension modify the content…
Willi Ballenthin
  • 6,444
  • 6
  • 38
  • 52
1
vote
0 answers

Baikal 0.4.5: synchronization with Thunderbird + Lightning + SOGo connector

To upgrade Baikal from 0.2.7 to 0.4.5 I followed the steps on http://sabre.io/baikal/upgrade. The upgrade was successful. At the end of process I changed the end-points for syncing. Syncing calendars on all devices (PC + Thunderbird 45.0 + Lightning…
1
vote
1 answer

Opening a browser window in Thunderbird Extension

I'm currently working with a Thunderbird Add On which opens a pop-up every time someone hovers over a link. In this pop-up, the user should be able to click on a link which opens a new window or tab in a browser (one that the user set default). var…
betty
  • 11
  • 3
1
vote
1 answer

trying to access Thunderbird-tabmail does not work

I want to open a new tab with a gloda conversation from inside calendar code. I receive an error from error console: window not defined (or document not defined), depending on which of the two I use to Access tabmail: let tabmail =…
1
vote
0 answers

Thunderbird Certificate

I'm actually developing an extension for Thunderbird. The main goal of it is to send mails to crm system. I want to use web-service which at first wants certificate to connect. The correct certificate is installed at my PC so I want from my add-on…
1
vote
1 answer

In a Thunderbird extension, how can different javascript files refer to each other?

I have developed a very simple Thunderbird extension. There is one simple .xul file which refers via script-tag to a .js file. In that javascript-file I am implementing an event listener on the compose-send-message event. When the send-button is…
Sushiman
  • 55
  • 6
1
vote
1 answer

GDK ESourceRegistry Used to Work but Not Anymore

I'm developing Thunderbird addon that uses libedataserver.so. Addon uses js-ctypes to call e_source_registry_new_sync from the above library. See below code: var lib = ctypes.open("libedataserver-1.2.so.18"); var GCancellable = {}; …
balbusm
  • 1,646
  • 19
  • 23
1
vote
1 answer

get message body using javascript (thunderbird)

I am developing a thunderbird extension and I want to get message body of received message. I used this function but it didnt work... How can I achieve this? function getMessageBody() { let messageURI = GetLoadedMessage(); let…
1
vote
1 answer

How to iterate over files in a directory within an extractionless add-on's .xpi file

My add-on, Color Source, needs to iterate files in a directory within my add-on (e.g., the content subdirectory) when the add-on is not unpacked (i.e., is kept zipped as an XPI). We are using code like this to get the Addon…