Conduit API
Case Study
HTML Apps -> GetMainFrameUrl
 
This function is used to get the current URL in the main browser.
 
GetMainFrameUrl()
 
None.
 
Description Type
The main browser's current URL. string
 
In order to retrieve the main frame URL, you will need to apply the following security settings for your toolbar.
This function can be used both with the HTML component and with the gadget window.
*Notice: API methods must be invoked after the web page has triggered the "onload" event.
 
This example contains an icon  GetMainFrameUrl  that when clicked, will navigate you to the URL of the main frame.