Entry
How to disable CTRL-Q in super-kiosk mode?
Oct 25th, 2000 17:41
Tim Powell, Anthony Howe, Martin Honnen, http://help.netscape.com/kb/consumer/20000302-2.html
You can disable all the Hot Keys in Kiosk Mode using the following
technique described in an article in the Netscape Knowledge base:
http://help.netscape.com/kb/consumer/20000302-2.html
Quoting the article:
Execute Communicator with the "-sk" switch and place the following
Javascript in a file that contains the proper HTML Tags.
<html>
<head>
<script>
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserWrit
e");
window.open("index.html","safe","toolbar=0,status=1,personalbar=0,menuba
r=0, titlebar=0,resizeable=no,scrollbars=yes,hotkeys=0");
window.close("jscript.html");
</script>
</head>
<body>
</body>
</html>
Note:
* The file index.html is the location of your home page.
* The file jscript.html contains the javascript.
The command line should look like this:
C:\Netscape\Communicator\Program\netscape.exe -sk c:\jscript.html
In order for the browser to execute the javascript, it must verify that
the javascript is safe. This verification can be automated by either
placing the HTML file in a signed JAR file or by adding a preference to
the netscape.cfg file or the prefs.js file. We recommend that you use
the netscape.cfg file.
To add this preference to the netscape.cfg file, use the following
syntax:
lockPref("signed.applets.codebase_principal_support", true);
To add this preference to the prefs.js file, use the following syntax:
user_pref("signed.applets.codebase_principal_support", true);
Please note: Adding a preference to the netscape.cfg file or the
prefs.js file will cause Communicator to accept unsigned applets, which
can be a security risk.
End of quote.
Additional techniques for securing Netscape in a public library are
described by this site:
http://www.northville.lib.mi.us/tech/netscape.html