Contains information about the URLs visited by the client.
Members Table
The following table lists the members exposed by the
history
object.
Show:
|
Property | Description |
---|
length |
Retrieves the number of elements in the History list. |
Method | Description |
---|
back |
Loads a previous URL from the History list. | forward |
Loads the next URL from the History list. | go |
Loads a URL from the History list. |
|
Remarks
For security reasons, the history object does not expose the actual URLs in the browser history. It does allow navigation through the browser history by exposing the back, forward, and go methods. A particular document in the browser history can be identified as an index relative to the current page. For example, specifying -1
as a parameter for the go method is the equivalent of clicking the Back button.
Standards Information
There is no public standard that applies to this object.
Applies To