Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Chromium and Firefox have all your history stored in a sqlite database.

I have a script to extract the last visited website from chrome for example: https://github.com/BarbUk/dotfiles/blob/master/bin/chrome_hi...

For firefox, you can use something like:

sqlite3 ~/.mozilla/firefox/.[dD]efault/places.sqlite "SELECT strftime('%d.%m.%Y %H:%M:%S', visit_date/1000000, 'unixepoch', 'localtime'),url FROM moz_places, moz_historyvisits WHERE moz_places.id = moz_historyvisits.place_id ORDER BY visit_date;"



Does this database store the full text content of the website? I believe that's what OP is asking for.


You can pipe the URLs through something like monolith[1].

https://github.com/Y2Z/monolith


TIL of monolith, thanks. It worked great for old.reddit.com but failed to capture www.reddit.com for mobile




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: