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

Q950 Is it possible to change the value of preferences in Netscape Communicator?

You are here: irt.org | FAQ | JavaScript | Misc | Q950 [ previous next ]

You can change Netscape Preferences with something like:

<script language="JavaScript1.2"><!--
if (document.layers) {
    // request privilege
    netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserWrite');

    // set preference
    navigator.preference('browser.startup.homepage','http://www.irt.org/');

    // save preference
    navigator.savePreferences();
}
//--></script>

©2018 Martin Webb