Location Property



 
The Location property contains the spot on the page where the blocked expression was found.


Syntax

    [long=] BlockInfo.Location
Possible Values
    Long value that retrieves the location.

    The property is read only.
Remarks
    0=URL, 1=Body, 2=Title, 3=Meta tags or Keywords
Examples
    The following example shows the location of the blocked expression.

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

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

Back to top