string GetUrl ()

Gets the URL of the calling frame

Security

Trust Level Required: Low Trust

Return

The current URL of the calling frame.

Remarks

This method useful for getting the main browser URL from CustomToolbarCode.js, or from a Toolbar JavaScript toolbar button. For these cases, this method should be used as the first parameter to KioApp.InjectJavaScript().

Examples


//this method will log your toolbar url as soon as CustomToolbarCode.js loads							
(function(){KioApp.LogInfo(KioFrame.GetUrl())})();
    

Requirements

KioWare for Windows version 8.1 or greater.