Bug 794204 - Add Yandex to default list of search plugins to mobile r=l10n,unghost
authorAlexander Slovesnik <unghost@mozilla-russia.org>
Thu, 27 Sep 2012 22:00:28 +0400
changeset 1598 76e22603d73eb5b1748d823bb822cd9664bb3cb4
parent 1571 7780a2a15d3654fc99c1bf8011049a69aa1aabe0
child 1599 1ad89374b74272ff2e3fd0208fc551446f6e84c5
push id1
push usersledru@mozilla.com
push dateThu, 04 Dec 2014 22:07:11 +0000
reviewersl10n, unghost
bugs794204
Bug 794204 - Add Yandex to default list of search plugins to mobile r=l10n,unghost
mobile/searchplugins/list.txt
mobile/searchplugins/yandex-ru.xml
--- a/mobile/searchplugins/list.txt
+++ b/mobile/searchplugins/list.txt
@@ -1,3 +1,4 @@
 google
 twitter
 wikipedia-ru
+yandex-ru
new file mode 100644
--- /dev/null
+++ b/mobile/searchplugins/yandex-ru.xml
@@ -0,0 +1,24 @@
+<!-- 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>Яндекс</ShortName>
+<Description>Воспользуйтесь Яндексом для поиска в Интернете.</Description>
+<InputEncoding>UTF-8</InputEncoding>
+<Image width="16" height="16">data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAB50lEQVQ4T43SvWsacRgH8OcPCITSLRQ6BSRL1gxZTNZQsgYC3QKunVoMnTKFhBQSnDqIUa5gxNbBCgriC4pv50sJ1lIR5SROpRVbz+O4b5/flbvedekJH+557nvfH8chdbvdIFMYPAgBICdqt9uKpmnw8huNRuDnX8J5QKvVgmEYnqiqClmWwZ113kmger0OXdf/Wv6EIb0BTo+AgB94ceDKJ5MJuHPOMwlUqVSwWq1sevQaxqvn0O5l6HdvgaMdV75cLtFoNMC9Xd6JisWiedNiPNuB9l4yZ+1jEvBvuXJBURRwL8YzUT6fx2KxsGHrKdQPCXNW794Bvieu3CLegrsnlM1mMZ/PbfqeH6vToDkvb2+Bx49cuWU2m4G7bUqn0xiPx7ZpqYRf29v4cXyMxf4+tLU1V24ZDAbgbptSqRSGw6HL9OwM37n4bXPTvP6bC7lcDtw9oWQyiX6/b/vMH1XZ2MAoEMDXqytM+QBnLtRqNXAvxjNRPB5Hr9ez9Q8PMfD50OM/2P3FBb7wAc680+mIMri3yzuRJEloNpsmORTCJy7INzd/9stLc7dyIZPJgDvnPJNA0WgU1WrVkxJ/4FgsBu6s804CRSKRh0KhgHK5/F+JRAL8fJBnslA4HH7NHhg8CDnLwm8IYz560xw92AAAAABJRU5ErkJggg==</Image>
+<Url type="application/x-suggestions+json" method="GET" template="http://suggest.yandex.net/suggest-ff.cgi">
+  <Param name="part" value="{searchTerms}"/>
+</Url>
+<Url type="text/html" method="GET" template="http://yandex.ru/yandsearch">
+  <Param name="text" value="{searchTerms}"/>
+  <Param name="from" value="fx3"/>
+  <Param name="clid" value="1924261"/>
+</Url>
+<Url type="application/x-moz-keywordsearch" method="GET" template="http://yandex.ru/yandsearch">
+  <Param name="stype" value="first"/>
+  <Param name="clid" value="1924261"/>
+  <Param name="text" value="{searchTerms}"/>
+</Url>
+<SearchForm>http://www.yandex.ru/</SearchForm>
+</SearchPlugin>