hello, I use the history.pushtate function to asynchronously change what comes after the domain.
but there is a problem, some browsers that do not support history do not just do not allow using this feature, but the js code does not work completely and the site becomes unusable. How can you solve this situation? whether to do some kind of check before launching a function that will determine whether the browser supports it or not, preventing launch