bigbrowser: improving navigation trails
In bigbrowser, a navigation trail starts when a tab is opened, and ends whenever that tab is closed, tracking all transitions in between. This led to weird behavior where I would follow links within a website, and then go to a totally different website by typing it into the address bar, and it would continue the existing trail.
I am updating bigbrowser to automatically reset trails based on the transition type.
link: clicked on a link within a pageauto_bookmark: clicked on a bookmarktyped: typed url in the address bar- …
And in bigbrowser’s case, I want to try starting a new trail on typed and auto_bookmark.
This information is gathered in the extension using the webnavigation api.
Aas usual there’s browser compatibility issues:
- Firefox doesn’t expose
transitiontypeinoncompletedevents, only inoncommitted - Firefox doesn’t support the
auto_bookmarktransition at all
Excited to see how it improves the trails!
