Files
inline-comment/.docs/decisions/0001-manifest-v3.md
T
Oliver_Herb 9053327486 Inline Comment 0.2.0 - initial public release
Thunderbird/Betterbird add-on (Manifest V3): typing inside a quote splits
the quote and inserts your own text with a marker such as [OH]:.

- English and German user interface
- Licensed under the Mozilla Public License 2.0
- English documentation, JSDoc lint gate, 87 tests (node:test + jsdom)
2026-11-24 12:07:09 +01:00

1.1 KiB
Raw Blame History

0001 – Manifest V3 with scripting.compose

Date: 2026-11-24 · Status: accepted

Context

Thunderbird supports MailExtensions with Manifest V2 and V3. Thunderbird 128 is the first ESR release with full Manifest V3 support; in Manifest V3, compose scripts are registered through scripting.compose. The add-on is developed and tested with Betterbird 153, which is considerably newer.

Decision

Manifest V3 with a minimum version of 128 (strict_min_version). Compose scripts are registered with scripting.compose.registerScripts (replaces composeScripts from V2), and the background script is an event page.

Consequences

  • The background script can be stopped at any time: state lives in storage.session (an in-memory map only as a fallback when storage.session is missing), listeners are registered at the top level.
  • Registered scripts only apply to new compose windows; windows that are already open get the script through scripting.executeScript after install or update.
  • No execution of JavaScript strings, only files.
  • Thunderbird versions before 128 are not supported.