Vote count:
0
I have a window.history.pushState("", "title", myCtxURLVersion); call. `myCtxURLVersion is just part of the URL I'm changing.
I want to get the URL into a js variable. I want the URL to be exactly what is shown in the browser URL bar and nothing different.
How would I go about doing this?
history.state doesn't work. Nor does document.URL.
asked 3 mins ago
Aucun commentaire:
Enregistrer un commentaire