Skip to content

Instantly share code, notes, and snippets.

@Eyakub
Created November 19, 2019 05:50
Show Gist options
  • Save Eyakub/f71865726489cd6fad133f88e09465e8 to your computer and use it in GitHub Desktop.
Save Eyakub/f71865726489cd6fad133f88e09465e8 to your computer and use it in GitHub Desktop.
I've faced a lot this issue, finally I got this issue solved by the following code.
<script>
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment