web-feature: Location
The location global object represents the current page’s address. You can use it to get the parts of the address (such as location.hostname or location.pathname) or navigate to another URL.
The location global object represents the current page’s address. You can use it to get the parts of the address (such as location.hostname or location.pathname) or navigate to another URL.