A Chrome extension that detects palindromes on web pages.
- Open Chrome and navigate to chrome://extensions.
- Enable Developer mode (toggle in the top-right corner).
- Click Load unpacked and select the
noon/project folder.
- The content script walks all visible text nodes on the page.
- Text nodes are grouped into contiguous runs (within the same block ancestor).
- Each run is scanned using the expand-around-center technique on the cleaned (lowercase, alphanumeric-only) string, with index mapping back to the original DOM positions.
- Only maximal palindromes are kept (sub-palindromes of a larger match are removed).
- Matches are wrapped in
<mark>elements and scrollbar markers are placed on a fixed overlay strip.
This project is inspired by, made for, and dedicated to the toppest palindrome enthusiast I've ever know <3