summaryrefslogtreecommitdiffstats
path: root/browser/components/search/extensions/baidu
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/baidu
parentInitial commit. (diff)
downloadfirefox-upstream.tar.xz
firefox-upstream.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--browser/components/search/extensions/baidu/favicon.icobin0 -> 5430 bytes
-rw-r--r--browser/components/search/extensions/baidu/manifest.json29
2 files changed, 29 insertions, 0 deletions
diff --git a/browser/components/search/extensions/baidu/favicon.ico b/browser/components/search/extensions/baidu/favicon.ico
new file mode 100644
index 0000000000..e1c770cc4b
--- /dev/null
+++ b/browser/components/search/extensions/baidu/favicon.ico
Binary files differ
diff --git a/browser/components/search/extensions/baidu/manifest.json b/browser/components/search/extensions/baidu/manifest.json
new file mode 100644
index 0000000000..5a91bc0fd5
--- /dev/null
+++ b/browser/components/search/extensions/baidu/manifest.json
@@ -0,0 +1,29 @@
+{
+ "name": "百度",
+ "description": "百度网页搜索",
+ "manifest_version": 2,
+ "version": "1.3",
+ "browser_specific_settings": {
+ "gecko": {
+ "id": "baidu@search.mozilla.org"
+ }
+ },
+ "hidden": true,
+ "icons": {
+ "16": "favicon.ico"
+ },
+ "web_accessible_resources": [
+ "favicon.ico"
+ ],
+ "chrome_settings_overrides": {
+ "search_provider": {
+ "keyword": ["@\u767E\u5EA6", "@baidu"],
+ "name": "百度",
+ "search_url": "https://www.baidu.com/baidu",
+ "search_form": "https://www.baidu.com/",
+ "search_url_get_params": "tn=monline_7_dg&ie=utf-8&wd={searchTerms}",
+ "suggest_url": "https://www.baidu.com/su",
+ "suggest_url_get_params": "tn=monline_7_dg&ie=utf-8&action=opensearch&wd={searchTerms}"
+ }
+ }
+}