You can find the properties of the history object in Table 10.11.
Table 10.11. The Properties of the history Object
Property
NS2
NS3
NS4
NS6
IE3a
IE3b
IE4
IE5
IE5.5
IE6
current
x
x
Read-only
Holds the current URL as a string. This property is restricted to Netscape Navigator signed scripts and scripts where the user has explicitly given permission to a script to use.
length
x
x
x
x
x
x
x
x
x
x
Read-only
Holds the length of the history list, as an integer. Be careful with this onethe natural tendency is to consider the current page as the most recent one in the history list and navigate from there, using this property as an indication of how far back in the history list you can go. Note, however, that the current page can actually be anywhere in the history list; it's not necessarily the most recent page.
next
x
x
Read-only
Holds the next URL in the history list as a string. This property is restricted to Netscape Navigator signed scripts and scripts where the user has explicitly given permission to a script to use.
previous
x
x
Read-only
Holds the previous URL in the history list as a string. This property is restricted to Netscape Navigator signed scripts and scripts where the user has explicitly given permission to a script to use.