Searching adds a new browser history item per-character
Sciman101
started a topic
about 1 year ago
I was looking for a site I visited in my history earlier and noticed that when I had made a search on Cohost, every time I typed a new character it added another page to the history. I understand why this probably happened since typing modifies the url, but clogging up the browser history is a little undesirable. I'm pretty sure there are apis to manage history state, so it could all get merged down into a single 'page'? or just not actually modify the url until the user hasn't typed for a few seconds.
Sciman101
I was looking for a site I visited in my history earlier and noticed that when I had made a search on Cohost, every time I typed a new character it added another page to the history. I understand why this probably happened since typing modifies the url, but clogging up the browser history is a little undesirable. I'm pretty sure there are apis to manage history state, so it could all get merged down into a single 'page'? or just not actually modify the url until the user hasn't typed for a few seconds.
1 person has this problem