diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /browser/components/search/extensions/amazondotcn | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/search/extensions/amazondotcn')
4 files changed, 42 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..79f3ce3f9b --- /dev/null +++ b/browser/components/search/extensions/amazondotcn/_locales/default/messages.json @@ -0,0 +1,8 @@ +{ + "searchUrl": { + "message": "https://www.amazon.cn/s" + }, + "searchUrlGetParams": { + "message": "k={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..79f3ce3f9b --- /dev/null +++ b/browser/components/search/extensions/amazondotcn/_locales/mozillaonline/messages.json @@ -0,0 +1,8 @@ +{ + "searchUrl": { + "message": "https://www.amazon.cn/s" + }, + "searchUrlGetParams": { + "message": "k={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..899a4a0cb0 --- /dev/null +++ b/browser/components/search/extensions/amazondotcn/manifest.json @@ -0,0 +1,26 @@ +{ + "name": "亚马逊", + "description": "亚马逊搜索", + "manifest_version": 2, + "version": "1.3", + "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__" + } + } +} |