August 1999
Intermediate to advanced
1488 pages
72h 53m
English
history.previous
The previous property of the History object is used to get the URL for the previous entry in the history list.
Note
In Navigator 4 and later, getting the previous value requires the UniversalBrowserRead privilege.
Listing 7.300 shows an example of how the previous property is used to get the previous URL in the history list.
<html>
<head>
<title> Using the previous property of the History object</title>
</head>
<body>
<script language="JavaScript"> <!-- Hide // request the Universal Browser Read privilege netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead"); ... |
Read now
Unlock full access