Conduit API
Case Study
HTML Apps -> GetSearchTerm
 
This function is used to get the search term that appears in the search box.
 
GetSearchTerm()
 
None.
 
Description Type
The search term appearing in the search box. 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  GetSearchTerm  that when clicked, returns a message to the user, containing the search term appearing in the toolbar's search box.