javascript history length

lengthNN 2 IE 3 DOM n/a  

Read-only  

The number of items in the history list. Even with this information, you are not allowed to extract a specific history entry except with signed scripts and the user's permission in Navigator 4 or later.

 
Example
 
if (history.length > 4) {
    ...
}
 
Value

Integer.

 
Default

None.


916,Nickname,Homepage or email,Comments here,Add comment