Package: netscape.javascript.* |
Product: Netscape |
Release: 4.x |
Related Links: |
JSObject
|
Comment: |
/* Reading browser preferences */ JSObject win = null; PrivilegeManager.enablePrivilege("UniversalPreferencesRead"); try { win = JSObject.getWindow(this); } catch (Exception e) { System.out.println (e); } name=(String)win.eval("navigator.preference('mail.pop_name')" ); System.out.println ("Mail popname :" + name); |