3 ms·
One way is by using JS to change the address bar location using window.location or history.pushState(), instead of using history.relpaceState() which doesn't cr
by everfree 11y ago
One way is by using JS to change the address bar location using window.location or history.pushState(), instead of using history.relpaceState() which doesn't create an extra history entry each time.
- JBReefer 11y agoI would vote for a president that ran a campaign _only_ based on quirky punishments for those who use history.pushState() They should have to open a door repeatedly, only to have someone push them back when they try to walk through for a few weeks, for example!
- vram22 11y agoGreat idea. I would vote for that too. Like Sisyphus ... Edit: spelling.
- vram22 11y agoGot it, thanks. I think I've been experiencing similar stuff on some sites for the last few days, but my attention was more on the page topic, also may have thought that it was an issue with my mouse (that I had to click a few times to go to previous page). So it's good to know.