ulixee / unblocked

A suite of tools for protecting the web's open knowledge.
MIT License
130 stars 12 forks source link

WIP: fix(agent): in page nav on unload #77

Closed blakebyrnes closed 9 months ago

blakebyrnes commented 11 months ago

When a navigation occurs during unload of a page (or a next navigation), it's taking over the navigation history improperly. I think this observer needs to be reworked, but this fix will at least only make an in-page navigation "top" if it's for the same domain as the current top.

Since I don't have time to properly write unit tests, I'm putting this out here as a branch until I can do so.