<!-- 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>Yahoo</ShortName>
<Description>Yahoo Search</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16">resource://search-plugins/images/yahoo.ico</Image>
<Url type="application/x-suggestions+json" method="GET"
     template="https://search.yahoo.com/sugg/ff">
  <Param name="output"  value="fxjson" />
  <Param name="appid"   value="ffd" />
  <Param name="command" value="{searchTerms}" />
</Url>
<Url type="text/html" method="GET" template="https://search.yahoo.com/yhs/search"
     resultdomain="yahoo.com" rel="searchform">
  <Param name="p" value="{searchTerms}"/>
  <Param name="ei" value="UTF-8"/>
  <Param name="hspart" value="mozilla"/>
  <MozParam name="hsimp" condition="purpose" purpose="searchbar"   value="yhs-001"/>
  <MozParam name="hsimp" condition="purpose" purpose="keyword"     value="yhs-002"/>
  <MozParam name="hsimp" condition="purpose" purpose="homepage"    value="yhs-003"/>
  <MozParam name="hsimp" condition="purpose" purpose="newtab"      value="yhs-004"/>
  <MozParam name="hsimp" condition="purpose" purpose="contextmenu" value="yhs-005"/>
  <MozParam name="hsimp" condition="purpose" purpose="system"      value="yhs-007"/>
</Url>
</SearchPlugin>
