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

Define history tree data object #10

Open
initialshl opened this issue Dec 28, 2020 · 1 comment
Open

Define history tree data object #10

initialshl opened this issue Dec 28, 2020 · 1 comment
Labels

Comments

@initialshl
Copy link
Owner

From chrome.history.search, we get list of URLs.
We then call chrome.history.getVisits for each URL to get all VisitItems.

Define a data object for our history tree with the required details, possibly like:
url, title, visitId, referringVisitId, transition, visitTime

@IanTeo
Copy link
Collaborator

IanTeo commented Dec 30, 2020

using the chrome.history api, is it possible to get the relation between the different URLs?

I was thinking that we might have to use the callbacks like in the answer here https://stackoverflow.com/questions/34957319/how-to-listen-for-url-change-with-chrome-extension

Then we build the history tree on our own by tracking what pages the user goes to.

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

No branches or pull requests

2 participants