summaryrefslogtreecommitdiffstats
path: root/browser/components/search/extensions/google
diff options
context:
space:
mode:
Diffstat (limited to 'browser/components/search/extensions/google')
-rw-r--r--browser/components/search/extensions/google/_locales/en/messages.json23
-rw-r--r--browser/components/search/extensions/google/_locales/region-by/messages.json20
-rw-r--r--browser/components/search/extensions/google/_locales/region-kz/messages.json20
-rw-r--r--browser/components/search/extensions/google/_locales/region-ru/messages.json20
-rw-r--r--browser/components/search/extensions/google/_locales/region-tr/messages.json20
-rw-r--r--browser/components/search/extensions/google/favicon.icobin0 -> 5430 bytes
-rw-r--r--browser/components/search/extensions/google/manifest.json34
7 files changed, 137 insertions, 0 deletions
diff --git a/browser/components/search/extensions/google/_locales/en/messages.json b/browser/components/search/extensions/google/_locales/en/messages.json
new file mode 100644
index 0000000000..e45a67a13f
--- /dev/null
+++ b/browser/components/search/extensions/google/_locales/en/messages.json
@@ -0,0 +1,23 @@
+{
+ "extensionName": {
+ "message": "Google"
+ },
+ "extensionDescription": {
+ "message": "Google Search"
+ },
+ "searchUrl": {
+ "message": "https://www.google.com/search"
+ },
+ "searchForm": {
+ "message": "https://www.google.com/search"
+ },
+ "suggestUrl": {
+ "message": "https://www.google.com/complete/search?client=firefox&q={searchTerms}"
+ },
+ "searchUrlGetParams": {
+ "message": "client=firefox-b-d&q={searchTerms}"
+ },
+ "channelPref": {
+ "message": "google_channel_row"
+ }
+}
diff --git a/browser/components/search/extensions/google/_locales/region-by/messages.json b/browser/components/search/extensions/google/_locales/region-by/messages.json
new file mode 100644
index 0000000000..4ad45a4aba
--- /dev/null
+++ b/browser/components/search/extensions/google/_locales/region-by/messages.json
@@ -0,0 +1,20 @@
+{
+ "extensionName": {
+ "message": "Google"
+ },
+ "extensionDescription": {
+ "message": "Google Search"
+ },
+ "searchUrl": {
+ "message": "https://www.google.by/search"
+ },
+ "searchForm": {
+ "message": "https://www.google.by/search"
+ },
+ "suggestUrl": {
+ "message": "https://www.google.by/complete/search?client=firefox&q={searchTerms}"
+ },
+ "searchUrlGetParams": {
+ "message": "q={searchTerms}"
+ }
+}
diff --git a/browser/components/search/extensions/google/_locales/region-kz/messages.json b/browser/components/search/extensions/google/_locales/region-kz/messages.json
new file mode 100644
index 0000000000..6497b5a84a
--- /dev/null
+++ b/browser/components/search/extensions/google/_locales/region-kz/messages.json
@@ -0,0 +1,20 @@
+{
+ "extensionName": {
+ "message": "Google"
+ },
+ "extensionDescription": {
+ "message": "Google Search"
+ },
+ "searchUrl": {
+ "message": "https://www.google.kz/search"
+ },
+ "searchForm": {
+ "message": "https://www.google.kz/search"
+ },
+ "suggestUrl": {
+ "message": "https://www.google.kz/complete/search?client=firefox&q={searchTerms}"
+ },
+ "searchUrlGetParams": {
+ "message": "q={searchTerms}"
+ }
+}
diff --git a/browser/components/search/extensions/google/_locales/region-ru/messages.json b/browser/components/search/extensions/google/_locales/region-ru/messages.json
new file mode 100644
index 0000000000..85a6c29902
--- /dev/null
+++ b/browser/components/search/extensions/google/_locales/region-ru/messages.json
@@ -0,0 +1,20 @@
+{
+ "extensionName": {
+ "message": "Google"
+ },
+ "extensionDescription": {
+ "message": "Google Search"
+ },
+ "searchUrl": {
+ "message": "https://www.google.ru/search"
+ },
+ "searchForm": {
+ "message": "https://www.google.ru/search"
+ },
+ "suggestUrl": {
+ "message": "https://www.google.ru/complete/search?client=firefox&q={searchTerms}"
+ },
+ "searchUrlGetParams": {
+ "message": "q={searchTerms}"
+ }
+}
diff --git a/browser/components/search/extensions/google/_locales/region-tr/messages.json b/browser/components/search/extensions/google/_locales/region-tr/messages.json
new file mode 100644
index 0000000000..4d8cd5a199
--- /dev/null
+++ b/browser/components/search/extensions/google/_locales/region-tr/messages.json
@@ -0,0 +1,20 @@
+{
+ "extensionName": {
+ "message": "Google"
+ },
+ "extensionDescription": {
+ "message": "Google Search"
+ },
+ "searchUrl": {
+ "message": "https://www.google.com.tr/search"
+ },
+ "searchForm": {
+ "message": "https://www.google.com.tr/search"
+ },
+ "suggestUrl": {
+ "message": "https://www.google.com.tr/complete/search?client=firefox&q={searchTerms}"
+ },
+ "searchUrlGetParams": {
+ "message": "q={searchTerms}"
+ }
+}
diff --git a/browser/components/search/extensions/google/favicon.ico b/browser/components/search/extensions/google/favicon.ico
new file mode 100644
index 0000000000..82339b3b1d
--- /dev/null
+++ b/browser/components/search/extensions/google/favicon.ico
Binary files differ
diff --git a/browser/components/search/extensions/google/manifest.json b/browser/components/search/extensions/google/manifest.json
new file mode 100644
index 0000000000..5c48bf553f
--- /dev/null
+++ b/browser/components/search/extensions/google/manifest.json
@@ -0,0 +1,34 @@
+{
+ "name": "__MSG_extensionName__",
+ "description": "__MSG_extensionDescription__",
+ "manifest_version": 2,
+ "version": "1.4",
+ "browser_specific_settings": {
+ "gecko": {
+ "id": "google@search.mozilla.org"
+ }
+ },
+ "hidden": true,
+ "default_locale": "en",
+ "icons": {
+ "16": "favicon.ico"
+ },
+ "web_accessible_resources": ["favicon.ico"],
+ "chrome_settings_overrides": {
+ "search_provider": {
+ "keyword": "@google",
+ "name": "__MSG_extensionName__",
+ "search_url": "__MSG_searchUrl__",
+ "search_form": "__MSG_searchForm__",
+ "suggest_url": "__MSG_suggestUrl__",
+ "params": [
+ {
+ "name": "channel",
+ "condition": "pref",
+ "pref": "__MSG_channelPref__"
+ }
+ ],
+ "search_url_get_params": "__MSG_searchUrlGetParams__"
+ }
+ }
+}