3 ms·
I don't really want to add it to the user's history, though. Breaking the back button is bad.
by TazeTSchnitzel 14y ago
I don't really want to add it to the user's history, though. Breaking the back button is bad.
- duncans 14y agoIn that case you use `history.replaceState()`, or just plain old `window.location.replace('url')`
- TazeTSchnitzel 14y agoWell, the latter would cause a reload, but the former sounds good. I'll try it, thanks!