You are here: irt.org | FAQ | JavaScript | Frame | Q970 [ previous next ]
The _new_ security model in Netscape Navigator 4+ actually allows you to ask for extra privileges from the user to be able to do this. With the _old_ security model, you wouldn''t even have been able to ask.
<script language="JavaScript1.2"><!-- function doit() { if (document.layers) { netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead'); top.location.href = parent.frames[1].history[parent.frames[1].history.length - 1]; } } //--></script> <a href="javascript:doit()">kill frame</a>