I’ve got this test alert in my document:
alert (window.location.protocol + “//” + window.location.host + “/” + window.location.pathname + window.location.search);
And the result is:
Does this mean that if I have a “clean” url like this one (modified inside the HTACCESS file):
Will window.location return what’s only inside the browser window (what we can see) or does it actually return the entire bare url?