Skip to content

Commit

Permalink
Revert Yahoo! partner URL until a better partner is found.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Aug 21, 2017
1 parent 2bdc9aa commit fc102d1
Showing 1 changed file with 28 additions and 16 deletions.
44 changes: 28 additions & 16 deletions browser/locales/searchplugins/yahoo.xml
@@ -1,16 +1,28 @@
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="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="text/html" template="https://api.couponroller.com/v1/hostedsearch">
<Param name="keyword" value="{searchTerms}"/>
<Param name="pid" value="252429"/>
<Param name="subid" value="788"/>
</Url>
<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>
</OpenSearchDescription>
<!-- 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>

1 comment on commit fc102d1

@hawkeye116477
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.