nsISupports
Last changed in Gecko 8.0 (Firefox 8.0 / Thunderbird 8.0 / SeaMonkey 2.5)boolean installAddonsFromWebpage(in AString aMimetype, in nsIDOMWindow aWindow, in nsIURI aReferer, [array, size_is(aInstallCount)] in wstring aUris, [array, size_is(aInstallCount)] in wstring aHashes, [array, size_is(aInstallCount)] in wstring aNames, [array, size_is(aInstallCount)] in wstring aIcons, [optional] in amIInstallCallback aCallback, [optional] in PRUint32 aInstallCount); |
boolean isInstallEnabled(in AString aMimetype, in nsIURI aReferer); |
Note: Prior to Gecko 8.0, all references to nsIDOMWindow
used in this interface were nsIDOMWindow
.
Installs an array of add-ons at the request of a webpage.
boolean installAddonsFromWebpage( in AString aMimetype, in nsIDOMWindow aWindow, in nsIURI aReferer, [array, size_is(aInstallCount)] in wstring aUris, [array, size_is(aInstallCount)] in wstring aHashes, [array, size_is(aInstallCount)] in wstring aNames, [array, size_is(aInstallCount)] in wstring aIcons, in amIInstallCallback aCallback, Optional in PRUint32 aInstallCount Optional );
aMimetype
aWindow
aReferer
aUris
aHashes
aNames
aIcons
aCallback
OptionalaInstallCount
Optionaltrue
if the installation was successfully started.
Checks if installation is enabled for a web page.
boolean isInstallEnabled( in AString aMimetype, in nsIURI aReferer );
aMimetype
aReferer
true
if installation is enabled.