amIWebInstallPrompt 编辑
toolkit/mozapps/extensions/amIWebInstallListener.idl
Scriptable Called when installation by websites is currently disabled. 1.0 66 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
AddonInstall
s that were requested. aCount
Optional- The number of
AddonInstall
s.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论