Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

amIWebInstallPrompt

Called when installation by websites is currently disabled.
1.0
28
Introduced
Gecko 2.0
Inherits from: nsISupports Last changed in Gecko 8.0 (Firefox 8.0 / Thunderbird 8.0 / SeaMonkey 2.5)

Method overview

void confirm(in nsIDOMWindow aWindow, in nsIURI aUri, [array, size_is(aCount)] in nsIVariant aInstalls, [optional] in PRUint32 aCount);

Prior to Gecko 8.0, all references to nsIDOMWindow used in this interface were nsIDOMWindow.

Methods

confirm()

Gets a confirmation that the user wants to start the installs.

void confirm(
  in nsIDOMWindow aWindow,
  in nsIURI aUri,
  [array, size_is(aCount)] in nsIVariant aInstalls,
  in PRUint32 aCount Optional
);
Parameters
aWindow
The window that triggered the installs.
aUri
The URI of the site that triggered the installs.
aInstalls
The AddonInstalls that were requested.
aCount Optional
The number of AddonInstalls.

Document Tags and Contributors

 Contributors to this page: Sheppy, kscarfone, trevorh
 Last updated by: Sheppy,