SiteKiosk Documentation
One Step Back

OnPopupBlocked Event




Fires when a popup has been blocked.


Syntax

    SiteKiosk.SiteKioskUI.PopupManager.OnPopupBlocked = handler
    
Parameters
    webBrowserSiteKioskWebBrowser object that contains the browser.
    flagsLong value that contains the flags (NWMF Enumerated Type).
    URLContextString that specifies the URL of the page that opens the popup.
    URLString 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 topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -