Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q987 How can I access the history array, and retrieve all the previous locations visited?

You are here: irt.org | FAQ | JavaScript | History | Q987 [ previous next ]

Only in Netscape Navigator 4+:

<script language="JavaScript"><!--
if (document.layers) {
    netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');
    var output = '';
    for (var i=0;i<window.history.length;i++)
        output += window.history[i] + '\n';
    alert(output);
}
//--></script>

Feedback on 'Q987 How can I access the history array, and retrieve all the previous locations visited?'

©2018 Martin Webb