diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /browser/components/search/extensions/yandex | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/search/extensions/yandex')
10 files changed, 313 insertions, 0 deletions
diff --git a/browser/components/search/extensions/yandex/_locales/az/messages.json b/browser/components/search/extensions/yandex/_locales/az/messages.json new file mode 100644 index 0000000000..d57aca3bb5 --- /dev/null +++ b/browser/components/search/extensions/yandex/_locales/az/messages.json @@ -0,0 +1,38 @@ +{ + "extensionName": { + "message": "Yandex" + }, + "extensionDescription": { + "message": "İnternetdə axtarış üçün Yandexdən istifadə edin." + }, + "searchUrl": { + "message": "https://yandex.az/search" + }, + "searchForm": { + "message": "https://www.yandex.az/" + }, + "suggestUrl": { + "message": "https://yandex.az/suggest/suggest-ff.cgi?part={searchTerms}" + }, + "searchUrlGetParams": { + "message": "text={searchTerms}" + }, + "param_searchbar": { + "message": "2186618" + }, + "param_keyword": { + "message": "2186621" + }, + "param_contextmenu": { + "message": "2186623" + }, + "param_homepage": { + "message": "2186617" + }, + "param_newtab": { + "message": "2186620" + }, + "extensionIcon": { + "message": "yandex-ru.ico" + } +} diff --git a/browser/components/search/extensions/yandex/_locales/by/messages.json b/browser/components/search/extensions/yandex/_locales/by/messages.json new file mode 100644 index 0000000000..0bcb41945e --- /dev/null +++ b/browser/components/search/extensions/yandex/_locales/by/messages.json @@ -0,0 +1,38 @@ +{ + "extensionName": { + "message": "Яндекс" + }, + "extensionDescription": { + "message": "Пошук з дапамогаю Яндекс" + }, + "searchUrl": { + "message": "https://yandex.by/search" + }, + "searchForm": { + "message": "https://www.yandex.by/" + }, + "suggestUrl": { + "message": "https://suggest.yandex.by/suggest-ff.cgi?part={searchTerms}" + }, + "searchUrlGetParams": { + "message": "text={searchTerms}" + }, + "param_searchbar": { + "message": "2186618" + }, + "param_keyword": { + "message": "2186621" + }, + "param_contextmenu": { + "message": "2186623" + }, + "param_homepage": { + "message": "2186617" + }, + "param_newtab": { + "message": "2186620" + }, + "extensionIcon": { + "message": "yandex-ru.ico" + } +} diff --git a/browser/components/search/extensions/yandex/_locales/en/messages.json b/browser/components/search/extensions/yandex/_locales/en/messages.json new file mode 100644 index 0000000000..ee7f914640 --- /dev/null +++ b/browser/components/search/extensions/yandex/_locales/en/messages.json @@ -0,0 +1,38 @@ +{ + "extensionName": { + "message": "Yandex" + }, + "extensionDescription": { + "message": "Use Yandex to search the Internet." + }, + "searchUrl": { + "message": "https://www.yandex.com/search" + }, + "searchForm": { + "message": "https://www.yandex.com/" + }, + "suggestUrl": { + "message": "https://suggest.yandex.com/suggest-ff.cgi?part={searchTerms}" + }, + "searchUrlGetParams": { + "message": "text={searchTerms}" + }, + "param_searchbar": { + "message": "2186618" + }, + "param_keyword": { + "message": "2186621" + }, + "param_contextmenu": { + "message": "2186623" + }, + "param_homepage": { + "message": "2186617" + }, + "param_newtab": { + "message": "2186620" + }, + "extensionIcon": { + "message": "yandex-en.ico" + } +} diff --git a/browser/components/search/extensions/yandex/_locales/kk/messages.json b/browser/components/search/extensions/yandex/_locales/kk/messages.json new file mode 100644 index 0000000000..c1e924d987 --- /dev/null +++ b/browser/components/search/extensions/yandex/_locales/kk/messages.json @@ -0,0 +1,38 @@ +{ + "extensionName": { + "message": "Яндекс" + }, + "extensionDescription": { + "message": "Воспользуйтесь Яндексом для поиска в Интернете." + }, + "searchUrl": { + "message": "https://yandex.kz/search" + }, + "searchForm": { + "message": "https://www.yandex.kz/" + }, + "suggestUrl": { + "message": "https://suggest.yandex.kz/suggest-ff.cgi?part={searchTerms}" + }, + "searchUrlGetParams": { + "message": "text={searchTerms}" + }, + "param_searchbar": { + "message": "2186618" + }, + "param_keyword": { + "message": "2186621" + }, + "param_contextmenu": { + "message": "2186623" + }, + "param_homepage": { + "message": "2186617" + }, + "param_newtab": { + "message": "2186620" + }, + "extensionIcon": { + "message": "yandex-ru.ico" + } +} diff --git a/browser/components/search/extensions/yandex/_locales/ru/messages.json b/browser/components/search/extensions/yandex/_locales/ru/messages.json new file mode 100644 index 0000000000..072370fd00 --- /dev/null +++ b/browser/components/search/extensions/yandex/_locales/ru/messages.json @@ -0,0 +1,38 @@ +{ + "extensionName": { + "message": "Яндекс" + }, + "extensionDescription": { + "message": "Воспользуйтесь Яндексом для поиска в Интернете." + }, + "searchUrl": { + "message": "https://yandex.ru/search" + }, + "searchForm": { + "message": "https://www.yandex.ru/" + }, + "suggestUrl": { + "message": "https://suggest.yandex.ru/suggest-ff.cgi?part={searchTerms}" + }, + "searchUrlGetParams": { + "message": "text={searchTerms}" + }, + "param_searchbar": { + "message": "2186618" + }, + "param_keyword": { + "message": "2186621" + }, + "param_contextmenu": { + "message": "2186623" + }, + "param_homepage": { + "message": "2186617" + }, + "param_newtab": { + "message": "2186620" + }, + "extensionIcon": { + "message": "yandex-ru.ico" + } +} diff --git a/browser/components/search/extensions/yandex/_locales/tr/messages.json b/browser/components/search/extensions/yandex/_locales/tr/messages.json new file mode 100644 index 0000000000..35b4a44bae --- /dev/null +++ b/browser/components/search/extensions/yandex/_locales/tr/messages.json @@ -0,0 +1,38 @@ +{ + "extensionName": { + "message": "Yandex" + }, + "extensionDescription": { + "message": "Yandex Türkiye arama motoru" + }, + "searchUrl": { + "message": "https://yandex.com.tr/search" + }, + "searchForm": { + "message": "https://www.yandex.com.tr/" + }, + "suggestUrl": { + "message": "https://suggest.yandex.com.tr/suggest-ff.cgi?part={searchTerms}" + }, + "searchUrlGetParams": { + "message": "text={searchTerms}" + }, + "param_searchbar": { + "message": "2186618" + }, + "param_keyword": { + "message": "2186621" + }, + "param_contextmenu": { + "message": "2186623" + }, + "param_homepage": { + "message": "2186617" + }, + "param_newtab": { + "message": "2186620" + }, + "extensionIcon": { + "message": "yandex-en.ico" + } +} diff --git a/browser/components/search/extensions/yandex/_locales/ua/messages.json b/browser/components/search/extensions/yandex/_locales/ua/messages.json new file mode 100644 index 0000000000..6d7efc2848 --- /dev/null +++ b/browser/components/search/extensions/yandex/_locales/ua/messages.json @@ -0,0 +1,23 @@ +{ + "extensionName": { + "message": "Яндекс" + }, + "extensionDescription": { + "message": "Воспользуйтесь Яндексом для поиска в Интернете." + }, + "searchUrl": { + "message": "https://yandex.ua/yandsearch" + }, + "searchForm": { + "message": "https://www.yandex.ua/" + }, + "suggestUrl": { + "message": "https://suggest.yandex.ua/suggest-ff.cgi?part={searchTerms}" + }, + "searchUrlGetParams": { + "message": "text={searchTerms}" + }, + "extensionIcon": { + "message": "yandex-ru.ico" + } +} diff --git a/browser/components/search/extensions/yandex/manifest.json b/browser/components/search/extensions/yandex/manifest.json new file mode 100644 index 0000000000..e00bdc3e25 --- /dev/null +++ b/browser/components/search/extensions/yandex/manifest.json @@ -0,0 +1,62 @@ +{ + "name": "__MSG_extensionName__", + "description": "__MSG_extensionDescription__", + "manifest_version": 2, + "version": "1.3", + "browser_specific_settings": { + "gecko": { + "id": "yandex@search.mozilla.org" + } + }, + "hidden": true, + "default_locale": "en", + "icons": { + "16": "__MSG_extensionIcon__" + }, + "web_accessible_resources": [ + "yandex-en.ico", + "yandex-ru.ico" + ], + "chrome_settings_overrides": { + "search_provider": { + "keyword": ["@\u044F\u043D\u0434\u0435\u043A\u0441", "@yandex"], + "name": "__MSG_extensionName__", + "search_url": "__MSG_searchUrl__", + "search_form": "__MSG_searchForm__", + "suggest_url": "__MSG_suggestUrl__", + "params": [ + { + "name": "clid", + "condition": "purpose", + "purpose": "searchbar", + "value": "__MSG_param_searchbar__" + }, + { + "name": "clid", + "condition": "purpose", + "purpose": "keyword", + "value": "__MSG_param_keyword__" + }, + { + "name": "clid", + "condition": "purpose", + "purpose": "contextmenu", + "value": "__MSG_param_contextmenu__" + }, + { + "name": "clid", + "condition": "purpose", + "purpose": "homepage", + "value": "__MSG_param_homepage__" + }, + { + "name": "clid", + "condition": "purpose", + "purpose": "newtab", + "value": "__MSG_param_newtab__" + } + ], + "search_url_get_params": "__MSG_searchUrlGetParams__" + } + } +} diff --git a/browser/components/search/extensions/yandex/yandex-en.ico b/browser/components/search/extensions/yandex/yandex-en.ico Binary files differnew file mode 100644 index 0000000000..d1c3f3f8b1 --- /dev/null +++ b/browser/components/search/extensions/yandex/yandex-en.ico diff --git a/browser/components/search/extensions/yandex/yandex-ru.ico b/browser/components/search/extensions/yandex/yandex-ru.ico Binary files differnew file mode 100644 index 0000000000..eb187398c7 --- /dev/null +++ b/browser/components/search/extensions/yandex/yandex-ru.ico |