enabled
Indicates whether or not Software Installation is enabled for this client machine.
Method of
Syntax
Parameters
Returns
True if Software Installation is enabled for this client machine; otherwise, false. The method reflects the value of the Software Installation preference in the user interface, and of the
xpinstall.enabledpreference in pref.js.Example
The following code uses the startSoftwareUpdate method to unconditionally trigger a download from
http://royalairways/royalpkg.xpias long as Software Installation is enabled on the browser:
if (InstallTrigger.enabled() )
InstallTrigger.startSoftwareUpdate ("http://royalair.com/rasoft.xpi");
| Netscape Communications devedge.netscape.com |