A Chrome extension that automatically scans web pages (e.g., scientific journals, articles) for "tortured phrases" and visually highlights them to alert the reader.
- Automatic Highlighting: Scans text nodes for known tortured phrases and highlights them.
- Correction Tooltips: Hover over a highlighted phrase to see its standard equivalent.
- Dynamic Content Support: Uses
MutationObserverto scan newly added content (e.g., infinite scrolling). - Badge Count: Displays the number of phrases found on the current page directly on the extension icon.
- Toggle Switch: Easily enable or disable the detector via the extension popup.
- Clone this repository.
- Open Chrome and navigate to
chrome://extensions/. - Enable "Developer mode" in the top right corner.
- Click "Load unpacked" and select the project root directory.
Open test.html in Chrome after installing the extension to see it in action.
- Manifest V3
- Vanilla JavaScript/HTML/CSS
TreeWalkerAPI for efficient DOM traversalMutationObserverfor dynamic content handling