Get the current hash from the url
Read all the arguments from the current url
Return the current root URL
Check if the url contains the searched hash
ProtectedisRemove the arguments from the current url
Update the hash of the url
Replace the url in the browser
url to replace
Optionaldata: unknown
optional data to pass to replaceState
Return the current url without the url parameters