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

Q1606 How can I open a full screen window without any chrome in Netscape Navugator?

You are here: irt.org | FAQ | JavaScript | Window | Q1606 [ previous next ]

The following requires exta priviledges from the user to be granted:

<html>
<head>

<title>Clean Window</title>

<script language="JavaScript1.2"><!--
function doit() {
  if (document.layers) {
    netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserWrite');
    window.open('nocrome.htm','newwin','titlebar=no,width=' + window.screen.width+',height='+window.screen.height+',screenX=0,screenY=0');
  }
}
//--></script>
</head>

<body>
<a href="javascript:doit()">Open nocrome</a>
</body>

</html>

©2018 Martin Webb