summaryrefslogtreecommitdiffstats
path: root/browser/components/search/extensions/google
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /browser/components/search/extensions/google
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'browser/components/search/extensions/google')
-rw-r--r--browser/components/search/extensions/google/_locales/en/messages.json24
-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.json36
7 files changed, 140 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..aeca0ef128
--- /dev/null
+++ b/browser/components/search/extensions/google/_locales/en/messages.json
@@ -0,0 +1,24 @@
+{
+ "extensionName": {
+ "message": "Google"
+ },
+ "extensionDescription": {
+ "message": "Google Search"
+ },
+ "searchUrl": {
+ "message": "https://www.google.com/search"
+ },
+ "searchForm": {
+ "message": "https://www.google.com/search?client=firefox-b-d&q={searchTerms}"
+ },
+ "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..60e5ed5eda
--- /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?q={searchTerms}"
+ },
+ "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..8e64096bc1
--- /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?q={searchTerms}"
+ },
+ "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..8a78bb4e7f
--- /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?q={searchTerms}"
+ },
+ "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..8e373a4833
--- /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?q={searchTerms}"
+ },
+ "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..1e71873d0d
--- /dev/null
+++ b/browser/components/search/extensions/google/manifest.json
@@ -0,0 +1,36 @@
+{
+ "name": "__MSG_extensionName__",
+ "description": "__MSG_extensionDescription__",
+ "manifest_version": 2,
+ "version": "1.3",
+ "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__"
+ }
+ }
+}