# OnSecureLockIconChange Event Fires when the security lock icon changes. Syntax
    SiteKioskWindow.SiteKioskWebBrowser.OnSecureLockIconChange = handler
Parameters
security | Long value that contains the new security status.
Remarks See SecureLockIconConstants (MSDN) for further information. The object that caused the event can be referenced in the event function using "this". Examples The following example shows an alert window when the security icon changes.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKioskWindow.SiteKioskWebBrowser.OnSecureLockIconChange = OSLIChange;
    function OSLIChange(security)
    {
       alert(security);
    }
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top