window.history.pushState = () => {}
window.history.replaceState = () => {}
It'll break PWAs unless you stub it out properly, but you can throw that in a userscript for a quick and dirty way to disable the API that websites use to update the URL without reloading the page.