Javascript Reference
Categories: history

javascript history current, next, previous

@March 15, 2008, 1:22 a.m.
current, next, previousFirefox/Netscape/NN 4 IE n/a Chrome/Safari/DOM n/a  

Read-only  

The URL of the current, next, and previous URLs in the history array. This information is private and can be retrieved in Navigator 4 or later only with signed scripts and the user's approval. Signed scripts are beyond the scope of this book, but a good JavaScript book should show you how to create and program signed scripts.

 
Example
 
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
var prevURL = parent.otherFrame.history.previous;
netscape.security.PrivilegeManager.revertPrivilege("UniversalBrowserRead");
 
Value

URL string.

 
Default

None.


Powered by Linode.