Releases: CFGPeter/local-proofreader
Releases · CFGPeter/local-proofreader
v0.3.0 — chunking, ignore list, fix-all, dark mode
Audit-driven release.
Bug fixes
extractEditablenow skipsdisplay:none/visibility:hiddencontent so hidden text doesn't corrupt offsets sent to the model.- Word popup flips above the marker when there's no room below.
- Markers get
role="button"andaria-labelfor screen readers. - Removed dead focusout handler, redundant
titleattribute, staleconsole.logcalls. - Dark-mode aware popup via
prefers-color-scheme.
New features
- Paragraph-level chunking. Long fields (>2000 chars) used to be silently skipped; now we split by blank line and proofread each paragraph independently, merging corrections back together. Fixes the "post too long" cliff and improves quality on multi-paragraph drafts.
- Persistent per-host ignore list. Clicking Ignore now writes the word to
chrome.storage.synckeyed by hostname; future suggestions for that word on the same site are filtered out. - Fix all (N) button when 2+ corrections exist; applies in reverse offset order with a fresh
charMapextraction between each so rich editors stay correct. - Pulsing blue dot near the active field while a check is in flight.
AbortControlleronproofread()so superseded calls don't waste CPU.
Performance
repositionMarkerswrapped inrequestAnimationFrameto coalesce scroll-event spam.
Install
Download local-proofreader.zip below, unzip, and follow INSTALL.txt.