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/amazondotcn | |
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 '')
4 files changed, 44 insertions, 0 deletions
diff --git a/browser/components/search/extensions/amazondotcn/_locales/default/messages.json b/browser/components/search/extensions/amazondotcn/_locales/default/messages.json new file mode 100644 index 0000000000..9402028a43 --- /dev/null +++ b/browser/components/search/extensions/amazondotcn/_locales/default/messages.json @@ -0,0 +1,8 @@ +{ + "searchUrl": { + "message": "https://www.amazon.cn/mn/searchApp" + }, + "searchUrlGetParams": { + "message": "ix=sunray&pageletid=headsearch&searchType=&Go.x=0&Go.y=0&bestSaleNum=0&keywords={searchTerms}" + } +} diff --git a/browser/components/search/extensions/amazondotcn/_locales/mozillaonline/messages.json b/browser/components/search/extensions/amazondotcn/_locales/mozillaonline/messages.json new file mode 100644 index 0000000000..888cc1d5a7 --- /dev/null +++ b/browser/components/search/extensions/amazondotcn/_locales/mozillaonline/messages.json @@ -0,0 +1,8 @@ +{ + "searchUrl": { + "message": "https://www.amazon.cn/gp/search" + }, + "searchUrlGetParams": { + "message": "ie=UTF8&camp=536&creative=3200&index=aps&linkCode=ur2&tag=mozilla&keywords={searchTerms}" + } +} diff --git a/browser/components/search/extensions/amazondotcn/favicon.ico b/browser/components/search/extensions/amazondotcn/favicon.ico Binary files differnew file mode 100644 index 0000000000..1c39eaf8fe --- /dev/null +++ b/browser/components/search/extensions/amazondotcn/favicon.ico diff --git a/browser/components/search/extensions/amazondotcn/manifest.json b/browser/components/search/extensions/amazondotcn/manifest.json new file mode 100644 index 0000000000..e418a7d31d --- /dev/null +++ b/browser/components/search/extensions/amazondotcn/manifest.json @@ -0,0 +1,28 @@ +{ + "name": "亚马逊", + "description": "亚马逊搜索", + "manifest_version": 2, + "version": "1.2", + "browser_specific_settings": { + "gecko": { + "id": "amazondotcn@search.mozilla.org" + } + }, + "hidden": true, + "default_locale": "default", + "icons": { + "16": "favicon.ico" + }, + "web_accessible_resources": [ + "favicon.ico" + ], + "chrome_settings_overrides": { + "search_provider": { + "keyword": "@amazon", + "name": "亚马逊", + "search_url": "__MSG_searchUrl__", + "search_form": "https://www.amazon.cn/", + "search_url_get_params": "__MSG_searchUrlGetParams__" + } + } +} |