Property/Method | Description |
hash | Represents an anchor name in the URL that begins with the # character |
host | Represents the hostname and port number of the URL |
hostname | Represents the hostname part of the URL |
href | Represents the complete URL |
pathname | Represents the pathname part of the URL |
port | Represents the port part of the URL |
protocol | Represents the protocol part of the URL |
reload() | Reloads the current URL |
replace() | Loads a new Web page in the current browser |
search | The search part of the URL, including the ? |