OnPopupBlocked Event



 
Fires when a popup has been blocked.


Syntax

    SiteKiosk.SiteKioskUI.PopupManager.OnPopupBlocked = handler
    
Parameters
    webBrowser SiteKioskWebBrowser object that contains the browser.
    flags Long value that contains the flags (NWMF Enumerated Type).
    URLContext String that specifies the URL of the page that opens the popup.
    URL String that specifies the URL of the popup page.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example displays the URL of each blocked popup.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.SiteKioskUI.PopupManager.OnPopupBlocked = OnPopupBlocked;
    function OnPopupBlocked(webBrowser, flags, URLContext, URL)
    {
       alert(URL);
    }
    </SCRIPT>

Applies to
    SiteKiosk v6.5 (and later versions).

Back to top