Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
23 changes: 21 additions & 2 deletions content_scripts/maliciousAdBlocker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
3 changes: 1 addition & 2 deletions content_scripts/toneTranslator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = `
<div id="mt-panel-head">
<span id="mt-panel-title">⚡ MindTab <span id="mt-srv-dot" class="none" title="Grammar server status"></span></span>
Expand All @@ -265,7 +264,7 @@ function mtBuildPanel() {
<span id="mt-tone-label">Tone</span>
<span id="mt-tone-val">—</span>
</div>
<div id="mt-suggestions"></div>
<div id="mt-suggestions" aria-live="polite" aria-atomic="false"></div>
<div id="mt-lt-section">
<h4>Grammar &amp; Spelling</h4>
<div id="mt-lt-issues"></div>
Expand Down
2 changes: 1 addition & 1 deletion sources/README-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion sources/README-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion sources/README-fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion sources/README-pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down