BlockType Property



 
The BlockType property contains the block type.


Syntax

    [long=] BlockInfo.BlockType
    
Possible Values
    Long value that retrieves the block type.

    The property is read only.
Remarks
    Possible block types are:

    0 : Domain in blocklist
    1 : Keyword found
Examples
    The following example shows the block type in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCoach").OnBlockURL = OnBlockURL;
    function OnBlockURL(blockedpage)
    {
       alert(blockedpage.BlockType);
    }
    </SCRIPT>
    

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

Back to top