BlockInfo Object



 
The BlockInfo object provides information about the page blocked by the Content Filter.


Members Table

    The following table lists the members provided by the BlockInfo object.

    Members

    Properties Description
    Block Whether to replace a blocked but already displayed page.
    BlockType Block type.
    ComplaintsAllowed Whether complaints are allowed.
    Description Description of the reason for the block.
    Found Forbidden expression that has been found.
    ID ID of the blocking process.
    Location Location of the blocked expression.
    URL URL of the blocked page.

Remarks
    This object is available through the OnBlockURL event handler. Use the BlockInfo object to get information about the page that has been blocked by the Content Filter.

    Note that the path of a file using SiteKiosk objects must be allowed in the
    SiteKiosk configuration (Security -> Access -> URL's With Script Permission)
    if it is not a browser skin file.
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 + " has been blocked");
    }
    </SCRIPT>
    

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

Back to top