An object that resides below the window in the scripting object model. This object accesses the history list from the browser.
![]()
The history object exposes methods for navigating through the current history.
Returns the length of the history list.
history.length
Part Description history An object expression that evaluates to a history object.
Returns the number of entries in the history.
Always returns zero in current implementation.
Jumps back in the history n steps. This behaves exactly as if the user has clicked on the back button n times.
history.back n
Part Description history An object expression that evaluates to a history object. n The number of pages to jump back in the history. N is always an integer >= 0.
Disabled in current implementation.
Jumps forward in the history n steps. This behaves exactly as if the user has clicked on the forward button n times.
history.forward n
Part Description history An object expression that evaluates to a history object. n The number of pages to jump forward in the history. N is always an integer >= 0.
Disabled in current implementation.
Goes to the n th item in the history, where history.go 1 jumps to the first item and history.go history.length jumps to the last item.
history.go n
Part Description history An object expression that evaluates to a history object. n The index of the history entry, from 1 to history.length.
Disabled in current implementation.