[Pkg-mozext-maintainers] Bug#1117143: bookworm-pu: package allow-html-temp/10.0.8-1~deb12u1

Mechtilde Stehmann mechtilde at debian.org
Fri Oct 3 19:28:22 BST 2025


Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: allow-html-temp at packages.debian.org, mechtilde at debian.org
Control: affects -1 + src:allow-html-temp
User: release.debian.org at packages.debian.org
Usertags: pu

[ Reason ]
Thunderbird will come with a new version (>=140.3) into oldstable. This need an
update for the Add-Ons (here: allow-html-temp) too.

[ Impact ]
If the update isn't approved the user can't anymore use it
in recent thunderbird.

[ Tests ]
The same upstream code works with thunderbird >= 140.3 in testing.

[ Risks ]
Code is trivial so no risk

[ Checklist ]
 [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
The new version of thunderbird needs a new version of webext-allow-html-temp.

[ Other info ]
The only reason is the new upcoming version of the thunderbird.

With the proposed update we should wait until the (security-) update of
Thunderbird to 140.x
-------------- next part --------------
diff -Nru allow-html-temp-10.0.4/api/LegacyPrefs/implementation.js allow-html-temp-10.0.8/api/LegacyPrefs/implementation.js
--- allow-html-temp-10.0.4/api/LegacyPrefs/implementation.js	2024-06-06 14:32:12.000000000 +0200
+++ allow-html-temp-10.0.8/api/LegacyPrefs/implementation.js	2025-03-17 00:52:12.000000000 +0100
@@ -1,9 +1,16 @@
 /*
- * This file is provided by the addon-developer-support repository at
- * https://github.com/thundernest/addon-developer-support
+ * This file is provided by the webext-support repository at
+ * https://github.com/thunderbird/webext-support
  *
+ * Version 1.12
+ * - added createPref(), proposed by Axel Grude
+ * 
+ * Version 1.11
+ * - adjusted to TB128 (no longer loading Services and ExtensionCommon)
+ * - use ChromeUtils.importESModule()
+ * 
  * Version 1.10
- * - adjusted to Thunderbird Supernova (Services is now in globalThis)
+ * - adjusted to Thunderbird 115 (Services is now in globalThis)
  *
  * Version 1.9
  * - fixed fallback issue reported by Axel Grude
@@ -36,18 +43,15 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-var { ExtensionCommon } = ChromeUtils.importESModule(
-  "resource://gre/modules/ExtensionCommon.sys.mjs"
-);
+/* global Services, ExtensionCommon */
+
+"use strict";
+
 var { ExtensionUtils } = ChromeUtils.importESModule(
   "resource://gre/modules/ExtensionUtils.sys.mjs"
 );
 var { ExtensionError } = ExtensionUtils;
 
-var Services = globalThis.Services || 
-  ChromeUtils.importESModule("resource://gre/modules/Services.sys.mjs").Services;
-
-
 var LegacyPrefs = class extends ExtensionCommon.ExtensionAPI {
   getAPI(context) {
 
@@ -162,6 +166,28 @@
           Services.prefs.clearUserPref(aName);
         },
 
+        // creates a new pref
+        createPref: async function (aName, aValue) {
+          if (typeof aValue == "string") {
+              Services.prefs.setStringPref(aName, aValue);
+              return "string";
+          }
+
+          if (typeof aValue == "boolean") {
+              Services.prefs.setBoolPref(aName, aValue);
+              return "boolean";
+          }
+
+          if (typeof aValue == "number" && Number.isSafeInteger(aValue)) {
+              Services.prefs.setIntPref(aName, aValue);
+              return "integer";
+          }
+          console.error(
+            `The provided value <${aValue}> for the new legacy preference <${aName}> is none of STRING, BOOLEAN or INTEGER.`
+          );
+          return false;
+        },
+
         // sets a pref
         setPref: async function (aName, aValue) {
           let prefType = Services.prefs.getPrefType(aName);
diff -Nru allow-html-temp-10.0.4/api/LegacyPrefs/README.md allow-html-temp-10.0.8/api/LegacyPrefs/README.md
--- allow-html-temp-10.0.4/api/LegacyPrefs/README.md	2024-03-03 23:15:52.000000000 +0100
+++ allow-html-temp-10.0.8/api/LegacyPrefs/README.md	2025-03-17 00:52:12.000000000 +0100
@@ -4,7 +4,7 @@
 
 ## Usage
 
-Add the [LegacyPrefs API](https://github.com/thundernest/addon-developer-support/tree/master/auxiliary-apis/LegacyPrefs) to your add-on. Your `manifest.json` needs an entry like this:
+Add the [LegacyPrefs API](https://github.com/thunderbird/webext-support/tree/master/experiments/LegacyPrefs) to your add-on. Your `manifest.json` needs an entry like this:
 
 ```
   "experiment_apis": {
@@ -53,8 +53,4 @@
 browser.LegacyPrefs.onChanged.addListener(async (name, value) => {
   console.log(`Changed value in "mailnews.": ${name} = ${value}`);
 }, "mailnews.");
-```
-
----
-
-A detailed example using the LegacyPref API to migrate add-on preferences to the local storage can be found in [/scripts/preferences/](https://github.com/thundernest/addon-developer-support/tree/master/scripts/preferences).
\ Kein Zeilenumbruch am Dateiende.
+```
\ Kein Zeilenumbruch am Dateiende.
diff -Nru allow-html-temp-10.0.4/api/LegacyPrefs/schema.json allow-html-temp-10.0.8/api/LegacyPrefs/schema.json
--- allow-html-temp-10.0.4/api/LegacyPrefs/schema.json	2024-03-03 12:41:20.000000000 +0100
+++ allow-html-temp-10.0.8/api/LegacyPrefs/schema.json	2025-03-17 00:52:12.000000000 +0100
@@ -62,6 +62,34 @@
         ]
       },
       {
+        "name": "createPref",
+        "type": "function",
+        "async": true,
+        "description": "Creates a new entry in the legacy pref system.",
+        "parameters": [
+          {
+            "name": "aName",
+            "type": "string",
+            "description": "Name of the preference."
+          },
+          {
+            "name": "aValue",
+            "choices": [
+              {
+                "type": "string"
+              },
+              {
+                "type": "integer"
+              },
+              {
+                "type": "boolean"
+              }
+            ],
+            "description": "Value to be set."
+          }
+        ]
+      },
+      {
         "name": "setPref",
         "type": "function",
         "async": true,
diff -Nru allow-html-temp-10.0.4/debian/changelog allow-html-temp-10.0.8/debian/changelog
--- allow-html-temp-10.0.4/debian/changelog	2024-09-18 16:39:21.000000000 +0200
+++ allow-html-temp-10.0.8/debian/changelog	2025-10-03 19:56:20.000000000 +0200
@@ -1,3 +1,55 @@
+allow-html-temp (10.0.8-1~deb12u1) bookworm; urgency=medium
+
+  [ Mechtilde ]
+  * [d894bae] Rebased to new upstream version 10.0.8
+  * [385a188] Added d/dpb.conf to use debian-package-scripts
+
+ -- Mechtilde Stehmann <mechtilde at debian.org>  Fri, 03 Oct 2025 19:56:20 +0200
+
+allow-html-temp (10.0.8-1) unstable; urgency=medium
+
+  [ Mechtilde ]
+  * [1ac77cf] Improved d/watch
+  * To upload to sid after thunderbird 140.3 is in sid
+
+ -- Mechtilde Stehmann <mechtilde at debian.org>  Sat, 20 Sep 2025 21:36:21 +0200
+
+allow-html-temp (10.0.8-1~exp1) experimental; urgency=medium
+
+  [ Mechtilde ]
+  * [73e69f0] New upstream version 10.0.8
+  * [012d3d3] Bumped years in d/copyright
+  * [c274aae] Added d/dpb.conf
+  * [1046838] Bumped max version for thunderbird
+  * [c3c9f35] Improved d/dpb.conf
+  * [fa3a317] Added d/gbp.conf
+
+ -- Mechtilde Stehmann <mechtilde at debian.org>  Fri, 08 Aug 2025 10:39:20 +0200
+
+allow-html-temp (10.0.7-1) unstable; urgency=medium
+
+  [ Mechtilde ]
+  * [acc0078] New upstream version 10.0.7
+  * [1eecb0d] Bumped standard version - no changes needed
+  * [1812b91] Bumped usable version of thunderbird
+
+ -- Mechtilde Stehmann <mechtilde at debian.org>  Sat, 08 Mar 2025 15:02:56 +0100
+
+allow-html-temp (10.0.6-1) unstable; urgency=medium
+
+  [ Mechtilde ]
+  * [1e0a456] New upstream version 10.0.6
+  * [136335b] Bumped max. version for thunderbird
+
+ -- Mechtilde Stehmann <mechtilde at debian.org>  Fri, 27 Dec 2024 16:08:27 +0100
+
+allow-html-temp (10.0.5-1) unstable; urgency=medium
+
+  [ Mechtilde ]
+  * [80b13e6] New upstream version 10.0.5
+
+ -- Mechtilde Stehmann <mechtilde at debian.org>  Wed, 18 Sep 2024 17:04:07 +0200
+
 allow-html-temp (10.0.4-1~deb12u1) bookworm; urgency=medium
 
   * Prepared for uploading to bookworm proposed update
diff -Nru allow-html-temp-10.0.4/debian/control allow-html-temp-10.0.8/debian/control
--- allow-html-temp-10.0.4/debian/control	2024-08-31 11:23:44.000000000 +0200
+++ allow-html-temp-10.0.8/debian/control	2025-10-03 19:36:21.000000000 +0200
@@ -5,7 +5,7 @@
 Uploaders: Mechtilde Stehmann <mechtilde at debian.org>
 Build-Depends: debhelper-compat (=13)
  , zip
-Standards-Version: 4.7.0
+Standards-Version: 4.7.2
 Rules-Requires-Root: no
 Vcs-Git: https://salsa.debian.org/webext-team/allow-html-temp.git
 Vcs-Browser: https://salsa.debian.org/webext-team/allow-html-temp
@@ -14,8 +14,8 @@
 Package: webext-allow-html-temp
 Architecture: all
 Depends: ${misc:Depends}
- , thunderbird (>= 1:128.1)
- , thunderbird (<< 1:131.x)
+ , thunderbird (>= 1:140.1)
+ , thunderbird (<< 1:143.x)
 Description: View selective HTML-Mail
  Allows one to have HTML temporarily allowed in the currently displayed
  message by only one click.
diff -Nru allow-html-temp-10.0.4/debian/copyright allow-html-temp-10.0.8/debian/copyright
--- allow-html-temp-10.0.4/debian/copyright	2024-08-31 10:57:58.000000000 +0200
+++ allow-html-temp-10.0.8/debian/copyright	2025-10-03 19:36:21.000000000 +0200
@@ -4,11 +4,11 @@
 Source: https://gitlab.com/ThunderbirdMailDE/allow-html-temp
 
 Files: *
-Copyright: Alexander Ihrig_
+Copyright: 2019-2025 Alexander Ihrig_
 License:  MPL-2.0
 
 Files: debian/*
-Copyright: 2021-2024 Mechtilde Stehmann <mechtilde at debian.org>
+Copyright: 2021-2025 Mechtilde Stehmann <mechtilde at debian.org>
 License:   MPL-2.0
 
 License:   MPL-2.0
diff -Nru allow-html-temp-10.0.4/debian/dpb.conf allow-html-temp-10.0.8/debian/dpb.conf
--- allow-html-temp-10.0.4/debian/dpb.conf	1970-01-01 01:00:00.000000000 +0100
+++ allow-html-temp-10.0.8/debian/dpb.conf	2025-10-03 19:40:15.000000000 +0200
@@ -0,0 +1,17 @@
+#!/bin/bash
+# ConfigFile for AllowHTMLTemp
+# This file is used by the scripts from
+# debian-package-scripts
+## General parameters
+SourceName=allow-html-temp
+PackName=webext-allow-html-temp
+SalsaName=webext-team/allow-html-temp.git
+## Parameters for Java packages
+JavaFlag=0
+## Parameters for Webext packages
+WebextFlag=1
+## Parameters for Python3 packages
+PythonFlag=0
+## Recent branch to build for 
+RecentBranch=debian/bookworm
+RecentBranchD=bookworm
diff -Nru allow-html-temp-10.0.4/debian/gbp.conf allow-html-temp-10.0.8/debian/gbp.conf
--- allow-html-temp-10.0.4/debian/gbp.conf	1970-01-01 01:00:00.000000000 +0100
+++ allow-html-temp-10.0.8/debian/gbp.conf	2025-10-03 19:36:21.000000000 +0200
@@ -0,0 +1,22 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+# use pristine-tar:
+pristine-tar = True
+# generate gz compressed orig file
+compression = xz
+debian-branch = debian/sid
+upstream-branch = upstream
+
+[pq]
+patch-numbers = False
+
+[dch]
+id-length = 7
+debian-branch = debian/sid
+
+[import-orig]
+# filter out unwanted files/dirs from upstream
+filter = [ '.cvsignore', '.gitignore', '.github', '.hgtags', '.hgignore', '*.orig', '*.rej' ]
+# filter the files out of the tarball passed to pristine-tar
+filter-pristine-tar = True
diff -Nru allow-html-temp-10.0.4/debian/watch allow-html-temp-10.0.8/debian/watch
--- allow-html-temp-10.0.4/debian/watch	2024-08-31 11:16:35.000000000 +0200
+++ allow-html-temp-10.0.8/debian/watch	2025-10-03 19:36:21.000000000 +0200
@@ -3,4 +3,4 @@
 repack,compression=xz,\
 dversionmangle=s///,\
 uversionmangle=s/-?([^\d.]+)/~$1/;tr/A-Z/a-z/ \
-https://addons.thunderbird.net/en-US/thunderbird/addon/allow-html-temp/versions/ (\d+\.\d+\.\d+)*
+https://addons.thunderbird.net/en-US/thunderbird/addon/allow-html-temp/versions/ (\d[\d\.]+)*
diff -Nru allow-html-temp-10.0.4/icons/aht_button_supernova_plaintext_lightdarkcss.svg allow-html-temp-10.0.8/icons/aht_button_supernova_plaintext_lightdarkcss.svg
--- allow-html-temp-10.0.4/icons/aht_button_supernova_plaintext_lightdarkcss.svg	2024-08-05 00:57:08.000000000 +0200
+++ allow-html-temp-10.0.8/icons/aht_button_supernova_plaintext_lightdarkcss.svg	2025-03-17 00:52:12.000000000 +0100
@@ -1,17 +1,17 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 512 512" opacity="context-fill-opacity">
-  <style>
-    path, rect {
-      fill: #18181B;
-    }
-    @media (prefers-color-scheme: dark) {
-      path, rect {
-        fill: #F4F4F5;
-      }
-    }
-  </style>
-
-  <path d="M 32,32 72.760417,435.31251 255.70833,480 439.16666,435.31251 480,32 Z M 72.687501,64 H 439.31249 L 404.23957,410.5 255.70833,446.68749 107.76042,410.5 Z" fill="context-stroke" style="fill-opacity:1;"/>
-  <path d="m 128,96 4.45929,48 H 379.52491 L 384,96.124215 Z" fill="context-stroke" style="fill-opacity:1;"/>
-  <rect width="48" height="272" x="228.02016" y="128" fill="context-stroke" style="fill-opacity:1;"/>
-  <path d="M 5.6665178,13.384072 C 4.4173771,13.077735 3.3896564,12.820649 3.382694,12.812769 3.3757315,12.804889 3.1268353,10.386758 2.8295912,7.4391431 2.5323471,4.4915287 2.2857375,2.0640701 2.2815699,2.0447907 l -0.00758,-0.035054 H 8 13.726007 l -0.0076,0.035054 c -0.0042,0.019279 -0.250777,2.446738 -0.548021,5.3943524 -0.297244,2.9476149 -0.546162,5.3657669 -0.55315,5.3736729 -0.01727,0.01953 -4.5739848,1.129994 -4.6328384,1.129012 -0.025706,-4.29e-4 -1.0687623,-0.251419 -2.3179028,-0.557756 z M 8.630964,8.5063291 V 4.5024343 h 1.620253 c 1.450145,0 1.620253,-0.00252 1.620253,-0.024047 0,-0.03574 0.12272,-1.3607359 0.132327,-1.428728 l 0.0083,-0.058423 H 8 3.9879472 l 0.00826,0.058423 c 0.00961,0.067992 0.132327,1.3929877 0.132327,1.428728 0,0.021509 0.157822,0.024047 1.4956183,0.024047 H 7.1197663 V 8.5063291 12.510224 H 7.8753651 8.630964 Z" transform="scale(32)" fill="context-fill" style="fill-opacity:0.1;"/>
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 512 512" opacity="context-fill-opacity">
+  <style>
+    path, rect {
+      fill: #18181B;
+    }
+    @media (prefers-color-scheme: dark) {
+      path, rect {
+        fill: #F4F4F5;
+      }
+    }
+  </style>
+
+  <path d="M 32,32 72.760417,435.31251 255.70833,480 439.16666,435.31251 480,32 Z M 72.687501,64 H 439.31249 L 404.23957,410.5 255.70833,446.68749 107.76042,410.5 Z" fill="context-stroke" style="fill-opacity:1;"/>
+  <path d="m 128,96 4.45929,48 H 379.52491 L 384,96.124215 Z" fill="context-stroke" style="fill-opacity:1;"/>
+  <rect width="48" height="272" x="228.02016" y="128" fill="context-stroke" style="fill-opacity:1;"/>
+  <path d="M 5.6665178,13.384072 C 4.4173771,13.077735 3.3896564,12.820649 3.382694,12.812769 3.3757315,12.804889 3.1268353,10.386758 2.8295912,7.4391431 2.5323471,4.4915287 2.2857375,2.0640701 2.2815699,2.0447907 l -0.00758,-0.035054 H 8 13.726007 l -0.0076,0.035054 c -0.0042,0.019279 -0.250777,2.446738 -0.548021,5.3943524 -0.297244,2.9476149 -0.546162,5.3657669 -0.55315,5.3736729 -0.01727,0.01953 -4.5739848,1.129994 -4.6328384,1.129012 -0.025706,-4.29e-4 -1.0687623,-0.251419 -2.3179028,-0.557756 z M 8.630964,8.5063291 V 4.5024343 h 1.620253 c 1.450145,0 1.620253,-0.00252 1.620253,-0.024047 0,-0.03574 0.12272,-1.3607359 0.132327,-1.428728 l 0.0083,-0.058423 H 8 3.9879472 l 0.00826,0.058423 c 0.00961,0.067992 0.132327,1.3929877 0.132327,1.428728 0,0.021509 0.157822,0.024047 1.4956183,0.024047 H 7.1197663 V 8.5063291 12.510224 H 7.8753651 8.630964 Z" transform="scale(32)" fill="context-fill" style="fill-opacity:0.1;"/>
 </svg>
\ Kein Zeilenumbruch am Dateiende.
diff -Nru allow-html-temp-10.0.4/_locales/en/messages.json allow-html-temp-10.0.8/_locales/en/messages.json
--- allow-html-temp-10.0.4/_locales/en/messages.json	2022-05-27 17:10:56.000000000 +0200
+++ allow-html-temp-10.0.8/_locales/en/messages.json	2024-12-27 14:17:08.000000000 +0100
@@ -19,7 +19,7 @@
     "message": "Show HTML"
   },
   "button_label_plaintext": {
-    "message": "Plaintext"
+    "message": "Plain Text"
   },
 
   "optionPageTitle_label": {
@@ -36,7 +36,7 @@
     "message": "A restricted option should be chosen here for default."
   },
   "optionHTMLDescriptionWarning_label": {
-    "message": "This is one of Thunderbirds own options, which you can find in menu \"Display\" ? \"Message Body as\". If you uninstall this Addon, the option will remain as chosen, but you can also change this option in Thunderbird without this add-on.",
+    "message": "This is one of Thunderbirds own options, which you can find in menu \"View\" ? \"Message Body As\". If you uninstall this Add-on, the option will remain as chosen, but you can also change this option in Thunderbird without this Add-on.",
     "description": "Please, use the original terms, which are used in Thunderbird menus and options dialog in your language"
   },
   "optionAppHTML_label": {
@@ -52,10 +52,10 @@
     "message": "Original HTML"
   },
   "optionSanitizedHTML_label": {
-    "message": "Sanitized HTML"
+    "message": "Simple HTML"
   },
   "optionPlaintext_label": {
-    "message": "Plaintext"
+    "message": "Plain Text"
   },
   "optionAllBodyParts_label": {
     "message": "All Body Parts"
@@ -74,7 +74,7 @@
     "message": "Allow remote content in general (not recommended)"
   },
   "optionAllwaysRemoteContentWarning_label": {
-    "message": "This is one of Thunderbirds own options, which you can find in Thunderbirds Preferences under \"Privacy & Security\" ? \"Allow remote content in messages\". If you uninstall this Addon, the option will remain as chosen, but you can also change this option in Thunderbird without this add-on.",
+    "message": "This is one of Thunderbirds own options, which you can find in Thunderbirds Preferences under \"Privacy & Security\" ? \"Allow remote content in messages\". If you uninstall this Add-on, the option will remain as chosen, but you can also change this option in Thunderbird without this Add-on.",
     "description": "Please, use the original terms, which are used in Thunderbird menus and options dialog in your language"
   },
   "optionTempRemoteContent_label": {
@@ -87,7 +87,7 @@
       "message": "Always show attachments inline (not recommended)"
   },
   "optionAttachmentsTempInlineWarning_label": {
-    "message": "This is one of Thunderbirds own options, which you can find in menu \"View\" ? \"Display Attachments Inline\". If you uninstall this Addon, the option will remain as chosen, but you can also change this option in Thunderbird without this add-on.",
+    "message": "This is one of Thunderbirds own options, which you can find in menu \"View\" ? \"Display Attachments Inline\". If you uninstall this Add-on, the option will remain as chosen, but you can also change this option in Thunderbird without this Add-on.",
     "description": "Please, use the original terms, which are used in Thunderbird menus and options dialog in your language"
   },
   "optionAttachmentsTempInline_label": {
@@ -142,7 +142,7 @@
   },
 
   "uninstallResetDialog_label": {
-    "message": "Allow HTML Temp will be disabled or uninstalled.\n\nDo you want to keep or reset Thunderbird settings for \"Message Body as\" (HTML Mode), \"Display Attachments Inline\" and \"Allow remote content in messages\"?",
+    "message": "Allow HTML Temp will be disabled or uninstalled.\n\nDo you want to keep or reset Thunderbird settings for \"Message Body As\" (HTML Mode), \"Display Attachments Inline\" and \"Allow remote content in messages\"?",
     "description": "Please, use the original terms, which are used in Thunderbird menus and options dialog in your language"
   },
   "uninstallResetToDefault_label": {
diff -Nru allow-html-temp-10.0.4/manifest.json allow-html-temp-10.0.8/manifest.json
--- allow-html-temp-10.0.4/manifest.json	2024-08-05 00:39:44.000000000 +0200
+++ allow-html-temp-10.0.8/manifest.json	2025-06-08 17:27:50.000000000 +0200
@@ -2,14 +2,14 @@
   "manifest_version": 2,
   "name": "__MSG_extensionName__",
   "description": "__MSG_extensionDescription__",
-  "version": "10.0.4",
+  "version": "10.0.8",
   "author": "Alexander Ihrig",
   "homepage_url": "https://addons.thunderbird.net/thunderbird/addon/allow-html-temp/",
   "applications": {
     "gecko": {
       "id": "{532269cf-a10e-4396-8613-b5d9a9a516d4}",
-      "strict_min_version": "126.0",
-      "strict_max_version": "130.*"
+      "strict_min_version": "128.0",
+      "strict_max_version": "140.*"
     }
   },
   "default_locale": "en",
diff -Nru allow-html-temp-10.0.4/options/options_ui.css allow-html-temp-10.0.8/options/options_ui.css
--- allow-html-temp-10.0.4/options/options_ui.css	2022-05-27 17:10:56.000000000 +0200
+++ allow-html-temp-10.0.8/options/options_ui.css	2025-06-08 18:02:40.000000000 +0200
@@ -1,14 +1,8 @@
- at namespace html "http://www.w3.org/1999/xhtml";
- at namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
-
 :host,
 :root {
-/*  --in-content-button-background-hover: rgb(204, 223, 249) !important; */
+  background-color: var(--background-color-box);
 }
 
- at supports not -moz-bool-pref("browser.proton.enabled") {
-} /** END not Proton **/
-
 /** body for Options in Tab **/
 /*
 body {
@@ -20,13 +14,10 @@
 */
 
 /** body for Options inline **/
-
 body {
   padding-top: 1.5em;
-  background-color: var(--in-content-box-background);
-  color: var(--in-content-page-color);
+  background-color: var(--background-color-box);
 }
-
 /* Nicht notwendig, wenn common.css vorhanden ist */
 /*
 .subcategory:not([hidden]) ~ .subcategory {
@@ -65,11 +56,11 @@
   position: relative;
 }
 input[type="radio"]:not(.position-null) {
-  top: 4px;
+  top: 2px;
   left: 5px;
 }
 input[type="checkbox"]:not(.position-null) {
-  top: 4px;
+  top: 2px;
   left: 5px;
 }
 input[type="checkbox"].position-null {
@@ -106,6 +97,11 @@
   }
 }
 
+ at media (prefers-color-scheme: dark) {
+  .subcategory_infotext:not(h1) {
+    color: var(--text-color-deemphasized);
+  }
+}
 .subcategory_infotext {
   margin-bottom: 0.6em;
 }
diff -Nru allow-html-temp-10.0.4/options/options_ui_listeners.js allow-html-temp-10.0.8/options/options_ui_listeners.js
--- allow-html-temp-10.0.4/options/options_ui_listeners.js	2024-03-03 12:41:20.000000000 +0100
+++ allow-html-temp-10.0.8/options/options_ui_listeners.js	2025-03-17 00:52:12.000000000 +0100
@@ -1,3 +1,8 @@
+// onLoad listener to load the i18n locale strings
+document.addEventListener('DOMContentLoaded', () => {
+  i18n.updateDocument();
+}, { once: true });
+
 // onLoad listener to load Options and LegacyPrefs
 document.addEventListener('DOMContentLoaded', async () => {
   consoleDebug("AHT: DOMContentLoaded, restoreAllOptions() and initLegacyPrefs()");
diff -Nru allow-html-temp-10.0.4/README.md allow-html-temp-10.0.8/README.md
--- allow-html-temp-10.0.4/README.md	2024-06-18 17:43:06.000000000 +0200
+++ allow-html-temp-10.0.8/README.md	2025-06-08 17:47:42.000000000 +0200
@@ -8,16 +8,16 @@
 
 ### Version series
 
-* Version 10.*  - Thunderbird 128.* - ESMification
-* Version 9.*   - Thunderbird 115.* Supernova - Partially rewritten including conceptual changes to fit for Thunderbird Supernova UI and internal code changes
-* Version 8.*   - Thunderbird 102.* - Migrated to a MailExtension using own experiment APIs
-* Version 7.*   - Thunderbird 91.*
-* Version 6.*   - Thunderbird 78.*
-* Version 5.*   - Thunderbird 68.*
+* Version 10.* - Thunderbird 128 ESR and 140 ESR
+* Version 9.*  - Thunderbird 115 ESR - Partially rewritten including conceptual changes to fit for Thunderbird Supernova UI and internal code changes
+* Version 8.*  - Thunderbird 102.* - Migrated to a MailExtension using own experiment APIs
+* Version 7.*  - Thunderbird 91.*
+* Version 6.*  - Thunderbird 78.*
+* Version 5.*  - Thunderbird 68.*
 
 ### Known issues
 
-* It's not possible to use the provided functions to easily print, forward or answer with HTML temporarily allowed. It seems there is no possibility to implement these repeatedly requested features by an addon. It would be necessary to change Thunderbird core functions, to get these things working. If you are interested in getting the whole functionality build in Thunderbirds core, then contribute to the RFE [Bug 1598857](https://bugzilla.mozilla.org/show_bug.cgi?id=1598857).
+* From up version series 9 (Thunderbird 115 and following) it's possible to print the temporarily allowed HTML formated messages. But it's still not possible to use the provided functions to easily forward or answer with HTML temporarily allowed. It seems there is no possibility to implement these repeatedly requested features by an addon. It would be necessary to change Thunderbird core functions, to get these things working.
 
 ### Installation
 
diff -Nru allow-html-temp-10.0.4/scripts/i18n.js allow-html-temp-10.0.8/scripts/i18n.js
--- allow-html-temp-10.0.4/scripts/i18n.js	2022-05-27 17:10:56.000000000 +0200
+++ allow-html-temp-10.0.8/scripts/i18n.js	2025-03-17 00:52:12.000000000 +0100
@@ -1,11 +1,28 @@
+/*
+ * This file is provided by the webext-support repository at
+ * https://github.com/thunderbird/webext-support
+ *
+ * For usage descriptions, please check:
+ * https://github.com/thunderbird/webext-support/tree/master/scripts/i18n
+ *
+ * Version 1.1
+ *
+ * Derived from:
+ * http://github.com/piroor/webextensions-lib-l10n
+ *
+ * Original license:
+ * The MIT License, Copyright (c) 2016-2019 YUKI "Piro" Hiroshi
+ *
+ */
+
 var i18n = {
   updateString(string) {
     let re = new RegExp(this.keyPrefix + "(.+?)__", "g");
-    return string.replace(re, matched => {
+    return string.replace(re, (matched) => {
       const key = matched.slice(this.keyPrefix.length, -2);
-      let rv = this.extension 
-            ? this.extension.localeData.localizeMessage(key)
-            : messenger.i18n.getMessage(key);
+      let rv = this.extension
+        ? this.extension.localeData.localizeMessage(key)
+        : messenger.i18n.getMessage(key);
       return rv || matched;
     });
   },
@@ -20,7 +37,8 @@
     );
     for (let i = 0, maxi = texts.snapshotLength; i < maxi; i++) {
       const text = texts.snapshotItem(i);
-      if (text.nodeValue.includes(this.keyPrefix)) text.nodeValue = this.updateString(text.nodeValue);
+      if (text.nodeValue.includes(this.keyPrefix))
+        text.nodeValue = this.updateString(text.nodeValue);
     }
 
     const attributes = document.evaluate(
@@ -32,7 +50,8 @@
     );
     for (let i = 0, maxi = attributes.snapshotLength; i < maxi; i++) {
       const attribute = attributes.snapshotItem(i);
-      if (attribute.value.includes(this.keyPrefix)) attribute.value = this.updateString(attribute.value);
+      if (attribute.value.includes(this.keyPrefix))
+        attribute.value = this.updateString(attribute.value);
     }
   },
 
@@ -44,7 +63,5 @@
       if (options.keyPrefix) this.keyPrefix = options.keyPrefix;
     }
     this.updateSubtree(document);
-  }
-};
-
-i18n.updateDocument();
\ Kein Zeilenumbruch am Dateiende.
+  },
+};
\ Kein Zeilenumbruch am Dateiende.


More information about the Pkg-mozext-maintainers mailing list