From 92c5b23b44799c7bce56586598145baa6622e29e Mon Sep 17 00:00:00 2001 From: JonKazama-Hellion Date: Thu, 16 Apr 2026 20:51:54 +0200 Subject: [PATCH] fix: image-ref Titel-Bug, CSP, ARIA-Labels, Onboarding i18n MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - image-ref.js: .widget-title-text → .widget-title (Titel-Update war kaputt) - Alle 3 Manifests: explizites content_security_policy (script-src/object-src 'self') - i18n.js: applyLanguage() setzt aria-label synchron zu title - newtab.html: 6 Close-Buttons + Search-Submit mit data-i18n-title - i18n.js: 4 neue Keys (dialog.close, search.submit_title, onboarding.tradecenter_desc) - onboarding.js: TradeCenter-Beschreibung auf t() umgestellt Co-Authored-By: Claude Opus 4.6 --- manifest.firefox.json | 3 +++ manifest.json | 3 +++ manifest.opera.json | 3 +++ newtab.html | 14 +++++++------- src/js/i18n.js | 10 +++++++++- src/js/image-ref.js | 2 +- src/js/onboarding.js | 2 +- 7 files changed, 27 insertions(+), 10 deletions(-) diff --git a/manifest.firefox.json b/manifest.firefox.json index af05674..ab79548 100644 --- a/manifest.firefox.json +++ b/manifest.firefox.json @@ -34,6 +34,9 @@ "matches": [""] } ], + "content_security_policy": { + "extension_pages": "script-src 'self'; object-src 'self'" + }, "icons": { "16": "assets/icons/icon16.png", "48": "assets/icons/icon48.png", diff --git a/manifest.json b/manifest.json index bb4466e..28fe544 100644 --- a/manifest.json +++ b/manifest.json @@ -19,6 +19,9 @@ "matches": [""] } ], + "content_security_policy": { + "extension_pages": "script-src 'self'; object-src 'self'" + }, "icons": { "16": "assets/icons/icon16.png", "48": "assets/icons/icon48.png", diff --git a/manifest.opera.json b/manifest.opera.json index 7cd00a5..ae49789 100644 --- a/manifest.opera.json +++ b/manifest.opera.json @@ -40,6 +40,9 @@ "default_title": "Hellion Dashboard" }, + "content_security_policy": { + "extension_pages": "script-src 'self'; object-src 'self'" + }, "icons": { "16": "assets/icons/icon16.png", "48": "assets/icons/icon48.png", diff --git a/newtab.html b/newtab.html index df339a3..93ff1a5 100644 --- a/newtab.html +++ b/newtab.html @@ -53,7 +53,7 @@ G - @@ -86,7 +86,7 @@