Created
March 26, 2021 17:13
-
-
Save amilabandara/b67af305f3f3223d696a0a451e19c976 to your computer and use it in GitHub Desktop.
This code remove the hash (http://url#hash) value from url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
history.pushState("", document.title, window.location.pathname + window.location.search); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment