Complete guide to all properties and methods of the location object for URL manipulation and navigation
All properties of the window.location object
Loads a new document. Similar to setting location.href, but can be called as a method.
Replaces the current document with a new one. Removes current page from history.
Reloads the current document. Use true to bypass cache.
Returns the string representation of the URL (same as location.href).
History length: 0