Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to fetch browser history from local cache #6

Open
andweeb opened this issue Feb 17, 2019 · 0 comments
Open

Add script to fetch browser history from local cache #6

andweeb opened this issue Feb 17, 2019 · 0 comments
Assignees

Comments

@andweeb
Copy link
Owner

andweeb commented Feb 17, 2019

Local browser history cache locations:

  • Safari: ~/Library/Safari/History.db
  • Chrome: ~/Library/Application Support/Google/Chrome/Default/History

Querying the local cache probably requires some Python 2 script that returns history data in JSON for a given browser. Looks like this can be achieved using the hs.sqlite3 module already exposed in the Hammerspoon API.

This is needed to add browser history actions with select mode for browser application entities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants