Dom.LocationModule representing location.
General structure of an url or uri:
    https://example.com:8042/over/there?name=ferret#nose
    \___/   \______________/\_________/ \_________/ \__/
      |            |            |            |        |
    scheme     authority       path        query   fragmentval href : t -> stringThe full url string of the location.
val protocol : t -> stringThe protocol i.e. either http or https.
val host : t -> stringThe host name i.e. the part of the authority before the port.
val port : t -> stringPort number as a string. If there is no explicit port, then the empty string is returned.
val pathname : t -> stringAn initial '/' followed by the path of the url of the location (or an empty string if there is no path).
val search : t -> stringThe query string.
val hash : t -> stringThe fragment part of the url.
val assign : string -> t -> unitassign url window Load the url.
val reload : t -> unitReload the current page.