JavaScript, Browser Creates an object containing the parameters of the current URL. Browser Parses an HTTP Cookie header string, returning an object of all cookie name-value pairs. The object is particularly useful when working with a page's URL information.
Table of contents
window.location.protocolwindow.location.hostnamewindow.location.portwindow.location.hostwindow.location.originwindow.location.pathnamewindow.location.searchwindow.location.hashwindow.location.hrefSort: