IsSearchProviderInstalled method (external, sidebar)
Returns an integer that represents whether the specified search provider is installed and whether it is the default.
Note: The IsSearchProviderInstalled method is supported in Internet Explorer since version 7.
Use the AddSearchProvider method to install a search engine plugin into the browser application.
You can find the related objects in the Supported by objects section below.
|Required. String that specifies a prefix of the search provider's URL to search for. An installed search provider matches this value if its URL starts with the specified prefix. The requested search provider should be in the same domain that the page is served from. Invoking the IsSearchProviderInstalled method with a prefix of a different domain raises an access denied exception.|
Integer. One of the following values:
|No installed search provider was found with the specified prefix.|
|A matching search provider is installed, but it is not the default.|
|A matching search provider is installed and set as the default.|
Example HTML code 1:
This example shows how to check for a search provider:
Did you find this example helpful?
User Contributed Comments