summaryrefslogtreecommitdiffstats
path: root/browser/components/search/extensions/amazondotcom
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/search/extensions/amazondotcom')
-rw-r--r--browser/components/search/extensions/amazondotcom/_locales/en-adm/messages.json20
-rw-r--r--browser/components/search/extensions/amazondotcom/_locales/en/messages.json20
-rw-r--r--browser/components/search/extensions/amazondotcom/_locales/us/messages.json20
-rw-r--r--browser/components/search/extensions/amazondotcom/favicon.icobin0 -> 1407 bytes
-rw-r--r--browser/components/search/extensions/amazondotcom/manifest.json29
5 files changed, 89 insertions, 0 deletions
diff --git a/browser/components/search/extensions/amazondotcom/_locales/en-adm/messages.json b/browser/components/search/extensions/amazondotcom/_locales/en-adm/messages.json
new file mode 100644
index 0000000000..080a287d9c
--- /dev/null
+++ b/browser/components/search/extensions/amazondotcom/_locales/en-adm/messages.json
@@ -0,0 +1,20 @@
+{
+ "extensionName": {
+ "message": "Amazon.com"
+ },
+ "extensionDescription": {
+ "message": "Amazon.com Search"
+ },
+ "searchUrl": {
+ "message": "https://www.amazon.com/s"
+ },
+ "searchForm": {
+ "message": "https://www.amazon.com/exec/obidos/external-search/?field-keywords={searchTerms}&ie={inputEncoding}&mode=blended&tag=mozilla-20&sourceid=Mozilla-search"
+ },
+ "suggestUrl": {
+ "message": "https://completion.amazon.com/search/complete?q={searchTerms}&search-alias=aps&mkt=1"
+ },
+ "searchUrlGetParams": {
+ "message": "tag=admarketus-20&ref=pd_sl_a4AAADD4BD57AA13{moz:date}&k={searchTerms}"
+ }
+}
diff --git a/browser/components/search/extensions/amazondotcom/_locales/en/messages.json b/browser/components/search/extensions/amazondotcom/_locales/en/messages.json
new file mode 100644
index 0000000000..68dc9ffbec
--- /dev/null
+++ b/browser/components/search/extensions/amazondotcom/_locales/en/messages.json
@@ -0,0 +1,20 @@
+{
+ "extensionName": {
+ "message": "Amazon.com"
+ },
+ "extensionDescription": {
+ "message": "Amazon.com Search"
+ },
+ "searchUrl": {
+ "message": "https://www.amazon.com/exec/obidos/external-search/"
+ },
+ "searchForm": {
+ "message": "https://www.amazon.com/exec/obidos/external-search/?field-keywords={searchTerms}&ie={inputEncoding}&mode=blended&tag=mozilla-20&sourceid=Mozilla-search"
+ },
+ "suggestUrl": {
+ "message": "https://completion.amazon.com/search/complete?q={searchTerms}&search-alias=aps&mkt=1"
+ },
+ "searchUrlGetParams": {
+ "message": "field-keywords={searchTerms}&ie={inputEncoding}&mode=blended&tag=mozilla-20&sourceid=Mozilla-search"
+ }
+} \ No newline at end of file
diff --git a/browser/components/search/extensions/amazondotcom/_locales/us/messages.json b/browser/components/search/extensions/amazondotcom/_locales/us/messages.json
new file mode 100644
index 0000000000..e000661a5b
--- /dev/null
+++ b/browser/components/search/extensions/amazondotcom/_locales/us/messages.json
@@ -0,0 +1,20 @@
+{
+ "extensionName": {
+ "message": "Amazon.com"
+ },
+ "extensionDescription": {
+ "message": "Amazon.com Search"
+ },
+ "searchUrl": {
+ "message": "https://www.amazon.com/exec/obidos/external-search/"
+ },
+ "searchForm": {
+ "message": "https://www.amazon.com/exec/obidos/external-search/?field-keywords={searchTerms}&ie={inputEncoding}&mode=blended&tag=mozilla-20&sourceid=Mozilla-search"
+ },
+ "suggestUrl": {
+ "message": "https://completion.amazon.com/search/complete?q={searchTerms}&search-alias=aps&mkt=1"
+ },
+ "searchUrlGetParams": {
+ "message": "field-keywords={searchTerms}&ie={inputEncoding}&mode=blended&tag=moz-us-20&sourceid=Mozilla-search"
+ }
+}
diff --git a/browser/components/search/extensions/amazondotcom/favicon.ico b/browser/components/search/extensions/amazondotcom/favicon.ico
new file mode 100644
index 0000000000..1c39eaf8fe
--- /dev/null
+++ b/browser/components/search/extensions/amazondotcom/favicon.ico
Binary files differ
diff --git a/browser/components/search/extensions/amazondotcom/manifest.json b/browser/components/search/extensions/amazondotcom/manifest.json
new file mode 100644
index 0000000000..24214433bc
--- /dev/null
+++ b/browser/components/search/extensions/amazondotcom/manifest.json
@@ -0,0 +1,29 @@
+{
+ "name": "__MSG_extensionName__",
+ "description": "__MSG_extensionDescription__",
+ "manifest_version": 2,
+ "version": "1.4",
+ "browser_specific_settings": {
+ "gecko": {
+ "id": "amazondotcom@search.mozilla.org"
+ }
+ },
+ "hidden": true,
+ "default_locale": "en",
+ "icons": {
+ "16": "favicon.ico"
+ },
+ "web_accessible_resources": [
+ "favicon.ico"
+ ],
+ "chrome_settings_overrides": {
+ "search_provider": {
+ "keyword": "@amazon",
+ "name": "__MSG_extensionName__",
+ "search_url": "__MSG_searchUrl__",
+ "search_form": "__MSG_searchForm__",
+ "suggest_url": "__MSG_suggestUrl__",
+ "search_url_get_params": "__MSG_searchUrlGetParams__"
+ }
+ }
+}