maildev@lists.thunderbird.net

Thunderbird email developers

View all threads

Attempting to revive userChromeJS for Thunderbird

JK
Jonathan Kamens
Mon, Apr 1, 2019 2:48 AM

FYI, I'm attempting to revive the userChromeJS add-on for Thunderbird
60+. As far as I know the old version of the add-on hasn't been
maintained in a long-time. This is basically a from-scratch
re-implementation as a bootstrapped add-on. See
https://addons.thunderbird.net/thunderbird/addon/userchromejs-2/ and
https://github.com/jikamens/userChromeJS. Let me know if you have any
thoughts, comments, etc., or if there's some reason I'm missing why this
is a terrible idea. ;-)

  jik

FYI, I'm attempting to revive the userChromeJS add-on for Thunderbird 60+. As far as I know the old version of the add-on hasn't been maintained in a long-time. This is basically a from-scratch re-implementation as a bootstrapped add-on. See https://addons.thunderbird.net/thunderbird/addon/userchromejs-2/ and https://github.com/jikamens/userChromeJS. Let me know if you have any thoughts, comments, etc., or if there's some reason I'm missing why this is a terrible idea. ;-)   jik
JK
Jörg Knobloch
Mon, Apr 1, 2019 7:32 AM

On 01 Apr 2019 04:48, Jonathan Kamens via Maildev wrote:

Let me know if you have any thoughts, comments, etc., or if there's
some reason I'm missing why this is a terrible idea. ;-)

Hi there,

I think this is marvellous! I've been using the old version to load the
Activity Manager into a tab:

if (location == "chrome://messenger/content/messenger.xul") {
document.getElementById("activityManager").setAttribute("oncommand",
"openContentTab('chrome://messenger/content/activity.xul');");
}

I've downloaded the your version and it works, thank you so much! That's
very important for me to move off TB 60.

I was surprised to see that you can do the basic function in 45 lines;
the old one was somewhat bigger, but then it could do other things like
"overlaying chrome with .xul overlays"[1].

I've been in contact with Alta88, the author of the original, in May
2018 and I had the impression that he wouldn't make it fit for TB 60+.

Jörg.

[1] http://userchromejs.mozdev.org/

On 01 Apr 2019 04:48, Jonathan Kamens via Maildev wrote: > Let me know if you have any thoughts, comments, etc., or if there's > some reason I'm missing why this is a terrible idea. ;-) Hi there, I think this is marvellous! I've been using the old version to load the Activity Manager into a tab: if (location == "chrome://messenger/content/messenger.xul") { document.getElementById("activityManager").setAttribute("oncommand", "openContentTab('chrome://messenger/content/activity.xul');"); } I've downloaded the your version and it works, thank you so much! That's very important for me to move off TB 60. I was surprised to see that you can do the basic function in 45 lines; the old one was somewhat bigger, but then it could do other things like "overlaying chrome with .xul overlays"[1]. I've been in contact with Alta88, the author of the original, in May 2018 and I had the impression that he wouldn't make it fit for TB 60+. Jörg. [1] http://userchromejs.mozdev.org/