August 1999
Intermediate to advanced
1488 pages
72h 53m
English
history.current
The current property of the History object contains a string that specifies the complete URL of the current history entry.
Note
In Navigator 4 and higher, getting the current value requires the UniversalBrowserRead privilege.
Listing 7.295 shows an example of how the current property is used. For this example, the UniversalBrowserRead privilege must be set. Once this is done, the onClick event handler alerts the user of the History current property.
<html> <head> <title> Using the current property of the History object</title> </head> <body> <script language="JavaScript"> ... |
Read now
Unlock full access