# OnBlockURL Event Fires when an URL is blocked. Syntax
    SiteKiosk.Plugins("SiteCoach").OnBlockURL = handler
Parameters
obj | BlockInfo object that contains information about the blocked page.
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example shows information about an URL if it is blocked.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCoach").OnBlockURL = OnBlockURL;
    function OnBlockURL(blockedpage)
    {
       alert("\"" + blockedpage.URL + "\"" + " is blocked");
    }
    </SCRIPT>
Applies to SiteKiosk v5.0 (and later versions). Back to top