web_browsers:firefox_history_stats
Differences
This shows you the differences between two versions of the page.
web_browsers:firefox_history_stats [2016/07/04 08:50] – created peter | web_browsers:firefox_history_stats [2020/04/15 11:57] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Web Browsers - Firefox History Stats ====== | ||
- | |||
- | First we use **sqlite3** to parse the Firefox history database and get the last three months, then we remove all the IP addresses and port numbers and finally we sort and count it. | ||
- | |||
- | <code bash> | ||
- | if [[ ! -d ${HOME}/ | ||
- | mkdir ${HOME}/ | ||
- | fi | ||
- | |||
- | cp " | ||
- | sqlite3 " | ||
- | WHERE moz_places.id = moz_historyvisits.place_id \ | ||
- | and visit_date > strftime(' | ||
- | | ||
- | sort -u " | ||
- | |||
- | awk -F/ ' | ||
- | </ | ||
- | |||
- | Example output: | ||
- | |||
- | < | ||
- | 383 lowendtalk.com | ||
- | 534 reddit.com | ||
- | 569 google.com | ||
- | 574 github.com | ||
- | 792 encrypted.google.com | ||
- | 973 i.imgur.com | ||
- | 1458 next.duckduckgo.com | ||
- | 3009 duckduckgo.com | ||
- | 6459 wiki.int | ||
- | 12934 management.int | ||
- | </ | ||
web_browsers/firefox_history_stats.1467622230.txt.gz · Last modified: 2020/07/15 09:30 (external edit)