Netscape version 4 provides access to the history array by signed scripts. Earlier versions of Netscape and MSIE do not provide this level of access and therefore the history object is limited in what you can do with it.
Some properties can be accessed by non-privileged scripts.
In Netscape, each element in the History object array is a String containing the URL for that item in the history. In MSIE, the objects are not accessible directly.
The array elements and properties of this object cannot be accessed by JavaScript unless the script has the UniversalBrowserRead privilege granted to it.
On Netscape, the toString() method is not correctly implemented and returns the value "[object]" instead of "[object History]".
Prev | Home | Next |
history | Up | History.back() |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |