Location
A location object with information about a URL.
Gets the hash, e.g. "#myhash".
Gets the host, e.g. "localhost:8800" or "www.w3.org".
Gets the host name, e.g. "localhost" or "www.w3.org".
Gets the hyper reference, i.e. the full path.
Gets the pathname, e.g. "/mypath".
Gets the port, e.g. "8800"
Gets the protocol, e.g. "http:".