I implemented an algorithm that traverses the DOM tree to detect sentence boundaries, handling inline tags like <a>, <strong>, or <em> without breaking the flow. The goal was to ensure sentence detection works reliably, even within real-world, messy HTML.
This was also my first time working with JavaScript and TypeScript, so there may be rough edges. I’d love any feedback — about implementation, performance, or general usability.
GitHub: https://github.com/hamsteak1488/focus-anchor
Chrome Web Store: https://chromewebstore.google.com/detail/focus-anchor/fbgkhg...