This site hijacks the back button and I really hate that.
Shouldn't there be some way for the browser to prevent that?
Shouldn't there be some way for the browser to prevent that?
The source code is 100% open source and pull requests are encouraged: https://github.com/breck7/pldb
To fix this, usually the two ways to change the URL without changing the browser history are either using window.location.replace() which will navigate there as well, or using window.history.replaceState() which will only change the URL without naviating there.