Contains information about the URLs visited by the client.
The history object has these types of members:
The history object has these methods.
Loads a previous URL from the History list.
Loads the next URL from the History list.
Loads a URL from the History list.
Pushes the given data with the given title, and the given URL, if provided, onto the session history .
Updates the current entry in the session history to have the given data, title, and, if provided, URL.
The history object has these properties.
Retrieves the number of elements in the History list.
Returns the current state object.
There are no standards that apply here.
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.