legacy

The legacy API first appeared in Thunderbird 63.

This API enables Thunderbird “legacy” extensions to continue working in the WebExtensions world. For much more information, see developer.thunderbird.net.

XUL Overlay Extensions

A new XUL overlay loader was created to replace the original one, which has been removed.

For the most part, things works exactly as they did before. However, as overlays are now added to a window’s document after it has been parsed, you may experience some unusual behaviours. For example, your code may add a listener for an event that has already happened, or the UI doesn’t return to its previous state correctly. Wibbly-wobbly, timey-wimey, … stuff.

Bootstrapped Extensions

From Thunderbird 68, bootstrapped extensions are also required to use a WebExtensions-style manifest.json. This is the same as for an overlay extension, but with type set to bootstrap:

{
  ...
  "legacy": {
    "type": "bootstrap"
  }
  ...
}

(The only other possible value is xul, which is the default.)

Manifest file properties

  • [legacy] (boolean or object)