8 out of 18 rated this helpful - Rate this topic

history object

[This documentation is preliminary and is subject to change.]

Applies to: desktop apps only

Contains information about the URLs visited by the client.

Standards information

There are no standards that apply here.

Members

The history object has these types of members:

Methods

The history object has these methods.

MethodDescription
back

Loads a previous URL from the History list.

This method is not supported for Metro style apps using JavaScript.

forward

Loads the next URL from the History list.

This method is not supported for Metro style apps using JavaScript.

go

Loads a URL from the History list.

This method is not supported for Metro style apps using JavaScript.

 

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.

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ