www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
 history Object
history Object

Contains information about the URLs visited by the client.

Members Table

The following table lists the members exposed by the history object.

Attributes/Properties
Show:
PropertyDescription
length Retrieves the number of elements in the History list.
MethodDescription
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

window
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG