Get the current hash from the url
Read all the arguments from the current url
Check if the url contains the searched hash
Remove the arguments from the current url
Update the hash of the url
Replace the url in the browser
url to replace
Optional
data: unknownoptional data to pass to replaceState
Static
get
Return the current url without the url parameters