LitDev Extension API
LDSearch
Bing online search methods.
Includes web, image, video, news and spelling suggestions.
Count | GetImage | GetNews |
GetProof | GetSpelling | GetVideo |
GetWeb | Language |
Count
The maximum number of web search results, default 50.
GetImage(search)
Do a Bing search for Web images.
search The search text.
returns An array of results, index url and value description.
GetNews(search)
Do a Bing search for Web news.
search The search text.
returns An array of results, index url and value description.
GetProof(text,mode)
Do a text spell check (proof). This is for longer text with more detailed information like in Word.
text The text to proof.
mode A mode "Proof" (default for longer text) or "Spell" (for short or single word checks).
returns An array of spelling and other suggestions or "" if no suggestions found.
GetSpelling(search)
Do a Bing search for Web spelling or alternative search suggestions.
search The search text.
returns An array of spelling or alternative suggestions or "" if no suggestions found.
GetVideo(search)
Do a Bing search for Web videos.
search The search text.
returns An array of results, index url and value description.
GetWeb(search)
Do a Bing search for Web sites.
search The search text.
returns An array (up to 50) of results, index url and value description.
Language
The language culture to use, default is current culture.
es-AR,en-AU,de-AT,nl-BE,fr-BE,pt-BR,en-CA,fr-CA,es-CL,da-DK,fi-FI,fr-FR,de-DE,zh-HK,en-IN,en-ID,en-IE,it-IT,ja-JP,ko-KR,en-MY,es-MX,nl-NL,en-NZ,no-NO,zh-CN,pl-PL,pt-PT,en-PH,ru-RU,ar-SA,en-ZA,es-ES,sv-SE,fr-CH,de-CH,zh-TW,tr-TR,en-GB,en-US,es-US