Changelog for Thunderbird 128
The following WebExtension API changes were introduced in Thunderbird 128.
browserAction
function getBadgeTextColor — Gets the text color of the badge.
function setBadgeTextColor — Sets the text color for the badge.
compose
type ComposeDetails.attachPublicPGPKey — Whether the public OpenPGP key of the sending identity should be attached to the message.
type ComposeDetails.selectedEncryptionTechnology — The selected encryption technology (OpenPGP or S/MIME) which is to be used to sign and/or encrypt the message. If the sending identity does not support encryption at all, this will be undefined.
composeAction
function getBadgeTextColor — Gets the text color of the badge.
function setBadgeTextColor — Sets the text color for the badge.
declarativeNetRequest
function getDisabledRuleIds — Returns the list of individual disabled static rules from a given static ruleset id.
function updateStaticRules — Modified individual static rules enabled/disabled state. Changes to rules belonging to a disabled ruleset will take effect when the ruleset becomes enabled.
property MAX_NUMBER_OF_DISABLED_STATIC_RULES — The maximum number of static rules that can be disabled on each static ruleset.
property MAX_NUMBER_OF_DYNAMIC_RULES — The maximum number of dynamic session rules an extension can add.
property MAX_NUMBER_OF_SESSION_RULES — The maximum number of dynamic session rules an extension can add.
identities
type MailIdentity.encryptionCapabilities — The encryption capabilities of this identity. Read only.
mailTabs
function getSelectedFolders — Lists the selected folders in the folder pane. Does not include folders which are context-clicked, but not selected. The context-clicked folders are always returned by the menus.onClicked event of the menus API.
messageDisplayAction
function getBadgeTextColor — Gets the text color of the badge.
function setBadgeTextColor — Sets the text color for the badge.
messages
function listInlineTextParts — Lists all inline text parts of a message. These parts are not returned by messages.listAttachments and usually make up the readable content of the message, mostly with content type text/plain or text/html. If a message only includes a part with content type text/html, the method messengerUtilities.convertToPlainText can be used to retreive a plain text version. If the message is encrypted, the inline text parts of the decrypted message are listed.
type InlineTextPart — An inline part with content type text/*. These parts are not returned by messages.listAttachments and usually make up the readable content of the message, mostly with content type text/plain or text/html
type MessageAttachment.contentId — The content-id of this part. Available for related parts, which are referenced from other places inside the same message (e.g. inline images).
scripting
type RegisteredContentScript.matchOriginAsFallback — If matchOriginAsFallback is true, then the code is also injected in about:, data:, blob: when their origin matches the pattern in ‘matches’, even if the actual document origin is opaque (due to the use of CSP sandbox or iframe sandbox). Match patterns in ‘matches’ must specify a wildcard path glob. By default it is false.
type RegisteredContentScript.world — The JavaScript world for a script to execute within. Defaults to “ISOLATED”.