Created
December 6, 2019 10:39
-
-
Save Farmatique/7105f25893fba5fb559df8190343960a to your computer and use it in GitHub Desktop.
Remove search query from URL including '?'
This file contains hidden or 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
window.location.href = window.location.href.split('?')[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment