The method should be called with a string argument containing the name of the privilege that is needed to gain access to the secure facilities of the browser.
// Request the file reading privilege
netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead")| Prev | Home | Next |
| PrivilegeManager.disablePrivilege() | Up | Privileges |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. | ||