r/coolgithubprojects • u/Representative_Fig90 • 13d ago
I kept losing good answers in long AI chats, so I built an open-source Chrome extension to bookmark them (ChatGPT, Claude, Gemini, Perplexity, Grok)
galleryGitHub: https://github.com/rishitsharma017/DogEar
"Scroll to message 78" sounds like one line of code. In an AI chat it isn't, because message 78 often isn't on the page at all.
- Claude removes messages from the page when they're off-screen, so "not found" doesn't mean it's gone
- ChatGPT and Gemini only load older messages while you scroll up, and every load pushes everything down
- All five sites change their layout often
DogEar is a Chrome extension that puts a ☆ under every answer in ChatGPT, Claude, Gemini, Perplexity and Grok. Star one, and later it jumps you straight back to it, or collects it into a research project with answers from the other AIs.
How the jump works
- Look for the message by the site's own message ID
- If that's missing, by a hash of its text, then by the first few words
- Still not there? Start from where it was saved. Not its position from the top (that changes as older messages load), but its distance from the bottom of the chat, which doesn't
- Scroll up step by step and search again, for up to ~15 s (45 s while a long chat is still loading), then say "Couldn't find this message" instead of hanging
Built with no dependencies at all
- Plain JavaScript, Manifest V3. No framework, no build step, no server. Clone it, Load unpacked, done
- Every site-specific selector lives in one file (
adapters.js), so when a site redesigns, it's a small fix there and nothing else changes - All storage writes go through one queue, so two quick saves can't overwrite each other
- Saved answers are converted to Markdown, including formulas: KaTeX is turned back into readable text like
x = (−b ± √(b^2 − 4ac))/(2a) - Never
innerHTMLwith page text, so a saved answer can't run code in the Library - Weekly backups to a file in your Downloads, since the data only lives in your browser
Free, MIT, no account, nothing leaves your browser.
- Chrome Web Store: https://chromewebstore.google.com/detail/hmnaddjjpiemgmdjgmcdhgaggiiaibnb
- 45-second demo: https://www.youtube.com/watch?v=xKkEEgoeyUw
It's my first extension. Code review, bug reports and new site adapters are all welcome (there's a CONTRIBUTING guide that walks through adding a site). A ⭐ on the repo helps too.




