<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
    <ShortName>Bing</ShortName>
    <Description>Bing. Search by Microsoft.</Description>
    <InputEncoding>UTF-8</InputEncoding>
    <Image width="16" height="16">data:image/x-icon;base64,[encoded data, 4976 characters]</Image>
    <Url type="application/x-suggestions+json" template="http://api.bing.com/osjson.aspx">
        <Param name="query" value="{searchTerms}"/>
        <Param name="form" value="OSDJAS"/>
    </Url>
    <Url type="text/html" method="GET" template="http://www.bing.com/search">
        <Param name="q" value="{searchTerms}"/>
        <MozParam name="pc" condition="pref" pref="ms-pc"/>
        <MozParam name="form" condition="purpose" purpose="contextmenu" value="MOZSBR"/>
        <MozParam name="form" condition="purpose" purpose="searchbar" value="MOZSBR"/>
        <MozParam name="form" condition="purpose" purpose="homepage" value="MOZSPG"/>
        <MozParam name="form" condition="purpose" purpose="keyword" value="MOZLBR"/>
    </Url>
    <SearchForm>http://www.bing.com/search</SearchForm>
</SearchPlugin>
