I already created an extension that does the following:  When I run Thinderbird with the command line thunderbird -MyCustomParam1 "12345" my extension will open a compose window and add the parameter "12345" to the window.  Some code...
I want to develop a Thunderbird 12 addon. I have written a simple JS function. (File: "chrome\content\myApp.js"). This file is called by a xul-'onclick'-event. I have packed my addon as a .xpi file and then I have installed it. (All o...
If you are developing an extension for one of the mozilla applications (e.g. Firefox, Thunderbird, etc.) you define a extension id in the install.rdf.  If for some reason you need to know the extension id e.g. to retrieve the extension dir in local f...
I want to make a thunderbird extension. So the first question is where to get started. Can you point me to some sample extensions in which I can plug in my code? This will significantly reduce the effort. I presume what we would write some javascript...
I am getting the error "id.replace is not a function"  Below is what I believe the relevant code is. I am missing something obvious, but my brain is currently mush.  getSyncDbFile: function (config, id) {     if (id === null)     {         co...
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 = document.createElement("canvas...
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 object:  Cu.import("r...
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:    con...
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)....
I'm trying to write a Thunderbird extension using XUL, a custom button that accesses the currently shown email message body and does something with it.  Apparently this would be possible using the global variable gDBView, as in the Display Mail U...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.