Better Method of Installing Thunderbird Extensions Required (add-on)
Categories
(Thunderbird :: Add-Ons: General, enhancement)
Tracking
(Not tracked)
People
(Reporter: ray, Unassigned)
References
()
Details
| Reporter | ||
Updated•20 years ago
|
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
Comment 3•20 years ago
|
||
Comment 4•20 years ago
|
||
Comment 5•20 years ago
|
||
| Reporter | ||
Comment 6•20 years ago
|
||
Updated•20 years ago
|
Comment 7•19 years ago
|
||
Comment 8•19 years ago
|
||
Comment 9•19 years ago
|
||
Updated•18 years ago
|
Comment 15•17 years ago
|
||
Comment 16•17 years ago
|
||
Comment 17•17 years ago
|
||
Comment 18•17 years ago
|
||
Updated•17 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Updated•7 years ago
|
Comment 20•6 years ago
|
||
How hard would it be to register TB as a URL handler for "tb://" URLs? Then just link to "tb://addons/addon_name/install" in ATN.
Updated•3 years ago
|
Comment 22•8 months ago
|
||
I am closing this as WORKSFORME.
Links to XPI files on addons.thunderbird.net come back with a response which has the content-disposition header set to attachment. This causes Firefox to download the XPI file, instead of installing it. The downloaded file can then be installed in Thunderbird. In general, the user should browse add-ons directly inside Thunderbird's add-on manager, since he will then see only add-ons compatible with the running version of Thunderbird.
We cannot do much for self-hosted add-ons. The developers of self-hosted Thunderbird add-ons will need to adjust their servers to include the content-disposition header set to attachment in their responses, when users click on XPI download links and the user-agent does not mention Thunderbird.
Comment 23•8 months ago
|
||
If someone wants to take a deeper look, this is what RobWu pointed to:
If anyone is interested in exploring how to change the logic, the input on what to do is generated at https://searchfox.org/mozilla-central/rev/578d9c83f046d8c361ac6b98b297c27990d468fd/toolkit/mozapps/extensions/amContentHandler.sys.mjs#29-93
The immediate caller before actual installation commences is at https://searchfox.org/mozilla-central/rev/578d9c83f046d8c361ac6b98b297c27990d468fd/toolkit/mozapps/extensions/AddonManager.sys.mjs#2511-2547
Updated•7 months ago
|
Description
•