Block Property



 
The Block property indicates whether to replace a blocked but already displayed page.


Syntax

    [bool=] BlockInfo.Block
    
Possible Values
    Boolean value that retrieves the block status.

    The property is read only.
Remarks
    There are two possible block types:

    0 : Domain in blocklist
    1 : Keyword found

    If this property is true, the blocked page is replaced if it is already displayed.
Examples
    The following example shows the block status in an alert window.

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

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

Back to top