diff --git a/CHANGELOG.md b/CHANGELOG.md index 51da0e6..d3c8019 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ All notable changes to MindTab will be documented here. The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). MindTab uses [Semantic Versioning](https://semver.org/). +## [1.2.1] — 2026-05-12 + +### Fixed + +- Issue #14, added `aria-live="polite"` (thanks @web3blind!) + +### Changed + +- Updated Extenstion name in docs to match store listing +- Bump version to 1.2.1 + --- ## [1.2.0] — 2026-05-16 diff --git a/README.md b/README.md index f4cd8da..4397e48 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ MindTab targets Firefox first. Install it from the [Firefox Add-ons store](https ### Chrome / Edge -Once it's on the Chrome Web Store, search for **"MindTab by Aster1630"** and click Add to Chrome. +Once it's on the Chrome Web Store, search for **MindTab** and click Add to Chrome. ### Loading it yourself (all browsers) diff --git a/content_scripts/maliciousAdBlocker.js b/content_scripts/maliciousAdBlocker.js index 0c8c382..6a2776c 100644 --- a/content_scripts/maliciousAdBlocker.js +++ b/content_scripts/maliciousAdBlocker.js @@ -35,11 +35,30 @@ function initAdBlocker() { scan(); let debounce; - const observer = new MutationObserver(() => { + const observer = new MutationObserver(mutations => { + // For attribute/characterData mutations the affected element may already + // be stamped with data-mt-checked from the initial scan. Clear the stamp + // so scan() will re-evaluate it with its updated href or text content. + for (const mutation of mutations) { + if (mutation.type === 'attributes' || mutation.type === 'characterData') { + const target = mutation.type === 'characterData' + ? mutation.target.parentElement + : mutation.target; + if (target && target.dataset) { + delete target.dataset.mtChecked; + } + } + } clearTimeout(debounce); debounce = setTimeout(scan, 400); }); - observer.observe(document.documentElement, { childList: true, subtree: true }); + observer.observe(document.documentElement, { + childList: true, + subtree: true, + attributes: true, + attributeFilter: ['href', 'src'], + characterData: true, + }); } if (window.__MindTab?.ready) { diff --git a/content_scripts/toneTranslator.js b/content_scripts/toneTranslator.js index 85f821a..96ce741 100644 --- a/content_scripts/toneTranslator.js +++ b/content_scripts/toneTranslator.js @@ -251,7 +251,6 @@ function mtBuildPanel() { panel.id = 'mt-panel'; panel.setAttribute('role', 'complementary'); panel.setAttribute('aria-label', 'MindTab Writing Assistant'); - panel.setAttribute('aria-live', 'polite'); panel.innerHTML = `
⚡ MindTab @@ -265,7 +264,7 @@ function mtBuildPanel() { Tone
-
+

Grammar & Spelling

diff --git a/sources/README-de.md b/sources/README-de.md index cea1168..335dd8f 100644 --- a/sources/README-de.md +++ b/sources/README-de.md @@ -60,7 +60,7 @@ MindTab hat Firefox als primäres Ziel. Installiere es mit einem Klick aus dem [ ### Chrome / Edge -Sobald es im Chrome Web Store verfügbar ist, suche nach **"MindTab by Aster1630"** und klicke auf Zu Chrome hinzufügen. +Sobald es im Chrome Web Store verfügbar ist, suche nach **MindTab** und klicke auf Zu Chrome hinzufügen. ### Manuelle Installation (alle Browser) diff --git a/sources/README-es.md b/sources/README-es.md index a09b327..75d3f75 100644 --- a/sources/README-es.md +++ b/sources/README-es.md @@ -60,7 +60,7 @@ MindTab tiene Firefox como objetivo principal. Instálalo desde la [tienda de co ### Chrome / Edge -Cuando esté disponible en Chrome Web Store, busca **"MindTab by Aster1630"** y haz clic en Añadir a Chrome. +Cuando esté disponible en Chrome Web Store, busca **MindTab** y haz clic en Añadir a Chrome. ### Instalación manual (todos los navegadores) diff --git a/sources/README-fr.md b/sources/README-fr.md index eb465c5..b659788 100644 --- a/sources/README-fr.md +++ b/sources/README-fr.md @@ -60,7 +60,7 @@ MindTab cible Firefox en priorité. Installez-le depuis la [boutique des modules ### Chrome / Edge -Quand il sera disponible sur le Chrome Web Store, recherchez **"MindTab by Aster1630"** et cliquez sur Ajouter à Chrome. +Quand il sera disponible sur le Chrome Web Store, recherchez **MindTab** et cliquez sur Ajouter à Chrome. ### Installation manuelle (tous navigateurs) diff --git a/sources/README-pt.md b/sources/README-pt.md index 2879ece..7a78f51 100644 --- a/sources/README-pt.md +++ b/sources/README-pt.md @@ -60,7 +60,7 @@ O MindTab tem o Firefox como alvo principal. Instale-o na [loja de complementos ### Chrome / Edge -Quando estiver disponível na Chrome Web Store, pesquise **"MindTab by Aster1630"** e clique em Adicionar ao Chrome. +Quando estiver disponível na Chrome Web Store, pesquise **MindTab** e clique em Adicionar ao Chrome. ### Instalação manual (todos os navegadores)