FavoriteInfo Object



 
The FavoriteInfo object provides information about an existing favorite.


Members Table

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

    Members

    Properties Description
    IsFolder If the favorite is a folder.
    IsFromSession If the favorite has been created in the current session.
    Name Name of the favorite.
    URL URL of the favorite.

    Methods Description
    Delete Deletes the favorite.

Remarks
    This object is returned by the Item method. Use the FavoriteInfo object to receive information about an favorite.

    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 the name of the first existing favorite in an alert window.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    alert(SiteKiosk.Favorites.Item(1).Name);
    </SCRIPT>
    

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

Back to top