Namespace SearchHandle
A handle for search related functionality.
Defined in: shell.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Method Attributes | Method Name and Description |
|---|---|
| <static> |
SearchHandle.addSearchProvider(sUrl)
Adds a search provider conforming to OpenSearch standard.
|
Method Detail
<static>
SearchHandle.addSearchProvider(sUrl)
Adds a search provider conforming to OpenSearch standard. As of now, this only works for
NWBC Desktop and adds a search provider with lifetime restricted to the current page only.
- Parameters:
- {string} sUrl
- The search provider URL, e.g. "http://en.wikipedia.org/w/opensearch_desc.php" for Wikipedia OpenSearch.
- Since:
- 1.2.0