nsIPopupWindowManager

IID:2e14fec9-e8e9-44cc-8c86-c8673c2383cc
Inherits From:nsISupports

This interface is implemented by the following components:


Constants

These values are returned by the testPermission method
PRUint32 ALLOW_POPUP = 1
PRUint32 DENY_POPUP = 2
PRUint32 ALLOW_POPUP_WITH_PREJUDICE = 3

Properties

PRUint32 defaultPermission

The manager's default permission can be ALLOW_POPUP (a blacklist) or DENY_POPUP (a whitelist).


Methods

PRUint32 testPermission ( nsIURI uri )

PRUint32 testPermission ( nsIURI uri )

Test whether a website has permission to show a popup window.

Arguments:
uri: is the URI to be tested
Returns:
one of the enumerated permission actions defined above

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com