WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMPopupBlockedEvent

IID:05be571f-c3ea-4959-a340-c57b1591ae4b
Inherits From:nsIDOMEvent

The nsIDOMPopupBlockedEvent interface is the datatype for events posted when a popup window is blocked.


Properties

readonly DOMString popupWindowFeatures

The string of features passed to the window.open() call (as the third argument)

readonly DOMString popupWindowName

The window name passed to the window.open() call (as the second argument)

readonly nsIURI popupWindowURI

The URI of the window that was blocked.

readonly nsIDOMWindow requestingWindow

The window object that attempted to open the blocked popup (i.e. the window object on which open() was called).


Methods

void initPopupBlockedEvent ( DOMString typeArg , PRBool canBubbleArg , PRBool cancelableArg , nsIDOMWindow requestingWindow , nsIURI popupWindowURI , DOMString popupWindowName , DOMString popupWindowFeatures )

void initPopupBlockedEvent ( DOMString typeArg , PRBool canBubbleArg , PRBool cancelableArg , nsIDOMWindow requestingWindow , nsIURI popupWindowURI , DOMString popupWindowName , DOMString popupWindowFeatures )

Arguments:
typeArg
canBubbleArg
cancelableArg
requestingWindow
popupWindowURI
popupWindowName
popupWindowFeatures

Reference documentation is generated from Mozilla's source.