TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Planning to Analyze My Browsing History (2019)

32 pointsby dbieberalmost 3 years ago

3 comments

bluelightning2kalmost 3 years ago
For the author&#x27;s stated use-cases, it would be easier to do this via. a chrome extension. Relevant documentation: <a href="https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;extensions&#x2F;reference&#x2F;history&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developer.chrome.com&#x2F;docs&#x2F;extensions&#x2F;reference&#x2F;histo...</a><p>Interesting note: the visits.visit_duration column is not exposed through this API (or at least - not listed in the documentation). This may be because it&#x27;s apparently misleading. (It apparently captures the time the tab was open not the time the tab was active)<p>Hope this helps
评论 #32468846 未加载
klibertpalmost 3 years ago
Somewhat related, as history seems to be kept in the same sqlite db as the bookmarks, at least for Firefox. If you want to update the entries there (as opposed to just reading and filtering them) you will want this: <a href="https:&#x2F;&#x2F;github.com&#x2F;bencaradocdavies&#x2F;sqlite-mozilla-url-hash" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bencaradocdavies&#x2F;sqlite-mozilla-url-hash</a><p>In short, there&#x27;s a FF-specific hashing function that&#x27;s needed when updating and inserting new rows.
1MachineElfalmost 3 years ago
It&#x27;s being analyzed whether you like it or not by many powerful tech companies. Putting that power into your own hands is a good thing.