Key | Description | Availability |
---|
hash | Anchor portion of the URL. | |
host | Host name and port of the URL. | |
hostname | Host name of the URL. | |
href | Complete text of the URL. | |
pathname | Path name portion of the URL. (e.g. "/docs/index.html") | |
port | Port portion of the URL. | |
protocol | Protocol portion of the URL. ("http" or "https") | |
search | Query string portion of the URL. | |