Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Yandex search engine entry #778

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions resources/resources.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@
<file>searches/startpage.xml</file>
<file>searches/wikipedia.xml</file>
<file>searches/yahoo.xml</file>
<file>searches/yandex.xml</file>
<file>searches/youtube.xml</file>
</qresource>
</RCC>
2 changes: 1 addition & 1 deletion resources/schemas/options.ini
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ value=false

[Search/SearchEnginesOrder]
type=string
value=duckduckgo,wikipedia,startpage,google,yahoo,bing,youtube
value=duckduckgo,wikipedia,startpage,google,yandex,yahoo,bing,youtube

[Search/SearchEnginesSuggestions]
type=bool
Expand Down
9 changes: 9 additions & 0 deletions resources/searches/yandex.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
<Shortcut>ya</Shortcut>
<ShortName>Yandex</ShortName>
<Description>Search Yandex</Description>
<InputEncoding>UTF-8</InputEncoding>
<Image width="16" height="16" type="image/png">data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABvklEQVR4nGJhYGAQBmIZIAaxiQG3gPgzsoDBx48fz/8nArx58+YYUL06uomm////+08snjp1cjJQDy+yAeb//v37j4y/HTzy/6Guxf8Hijr/bzPyoci9fv36JFCPJrIBFv/+/v0Pw79fvvp/V1D2//cTp8H82wy8/5HlQXjq1KnpQH18MAOs/v798x+GPy5b9f+xpROcDzIAWR6EX716dQaoTxukmQmEgZ5jgOF/nz4zMPLxwfkggCwPwkJCgsYTJ050AErxYxjAqq/D8PPMeYa/Hz7iNACEw8PDUoBS8iwwA2CAzdiAgScxmuG5lSsDu7UF3AB0ABVjAruAAcRBwgKVxQz/Pn5i4LC1hKnGwIsWLV4IlHkIknb5+eP7f2T8qrrx/1P/cDAbFIjo8k8ePz4P1GcM0ozhhb9PnzF8mjidQfzANpQwQAbz5s9ZDKTuw/ge379//Q/DL/JK/z+LT4Pz7wrI/EeWf/Dg/lmgHjOYZpALGBmQbODvqEf4Gwiknt1gQJafO3fOUiB1B8YHBeKvt+/e38QSThj4+fPn55qbW0EZ6h3MAEaQJUCsA4pBjLjCDo4D8VsYBxAAAP//6IDhNwTLz6MAAAAASUVORK5CYII=</Image>
<Url type="text/html" method="GET" template="https://yandex.ru/yandsearch?text={searchTerms}" />
</OpenSearchDescription>