From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../amazondotcn/_locales/default/messages.json | 8 ++++++ .../_locales/mozillaonline/messages.json | 8 ++++++ .../search/extensions/amazondotcn/favicon.ico | Bin 0 -> 1407 bytes .../search/extensions/amazondotcn/manifest.json | 28 +++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 browser/components/search/extensions/amazondotcn/_locales/default/messages.json create mode 100644 browser/components/search/extensions/amazondotcn/_locales/mozillaonline/messages.json create mode 100644 browser/components/search/extensions/amazondotcn/favicon.ico create mode 100644 browser/components/search/extensions/amazondotcn/manifest.json (limited to 'browser/components/search/extensions/amazondotcn') 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 new file mode 100644 index 0000000000..1c39eaf8fe Binary files /dev/null and b/browser/components/search/extensions/amazondotcn/favicon.ico differ 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__" + } + } +} -- cgit v1.2.3