I want the code injected by my chrome extension to update the users pathname without reloading the users app.
Currently i've got a work around
window.history.pushState('', '', '/about')
setTimeout(() => window.history.back(), 10)
setTimeout(() => window.history.forward(), 20)
window.history.pushState('', '', '/about')
Is there a better way of doing this ? maybe i don't understand history state well enough.