OnBeforeResetBrowser Event



 
Fires before the reset of the browser.


Syntax

    SiteKioskWindow.SiteKioskWebBrowser.OnBeforeResetBrowser = handler
Parameters
    obj WebBrowser object containing information about the old browser window.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    In the event of a browser reset the following example shows if the old browser window contained an address bar.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKioskWindow.SiteKioskWebBrowser.OnBeforeResetBrowser = OBRBrowser;
    function OBRBrowser(oldbrowser)
    {
       alert(oldbrowser.AddressBar);
    }
    </SCRIPT>
    

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top