ViHN icon indicating copy to clipboard operation
ViHN copied to clipboard

Reduce noise in long-term history

Open qsantos opened this issue 10 months ago • 1 comments

When navigating comments, URL changes are not added to the immediate history (navigating back/forward in the browser). This avoids breaking the back button too much.

However, the IRLs are still present in the long term history, cluttering searches.

qsantos avatar Apr 16 '24 20:04 qsantos

See #45

qsantos avatar Apr 19 '24 19:04 qsantos

location.replace does what is needed, but only in Chrome. In Firefox, new entries are still added

qsantos avatar Oct 14 '24 17:10 qsantos

This is impossible to do on Firefox

qsantos avatar Oct 14 '24 17:10 qsantos

The obvious solution is just to not update the hash on Firefox

qsantos avatar Oct 15 '24 21:10 qsantos