I want to use dynamic URL update through js script:
window.history.pushState("string", "Title", "/new-url");
But if the browser is outdated and does not support this feature, it should just redirect to the new URL.
Is there an easy way to check this?
source
share