summaryrefslogtreecommitdiff
path: root/Base/home
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-11-24 20:35:25 +0000
committerAndreas Kling <kling@serenityos.org>2021-11-26 22:14:56 +0100
commite9270487549a9403189e2bbc2d50ba8c3dd8a50c (patch)
tree2894b6a95dfe172d73feb49753083fa54c45e782 /Base/home
parent19330761433ba8bd91918cf047a59973ef17035b (diff)
downloadserenity-e9270487549a9403189e2bbc2d50ba8c3dd8a50c.zip
Browser: Move search engine definitions to a json file
This both makes them configurable, and means that we can read them from other applications, such as BrowserSettings. :^)
Diffstat (limited to 'Base/home')
-rw-r--r--Base/home/anon/.config/SearchEngines.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/Base/home/anon/.config/SearchEngines.json b/Base/home/anon/.config/SearchEngines.json
new file mode 100644
index 0000000000..249d42ae3a
--- /dev/null
+++ b/Base/home/anon/.config/SearchEngines.json
@@ -0,0 +1,26 @@
+[
+ {
+ "title": "Bing",
+ "url_format": "https://www.bing.com/search?q={}"
+ },
+ {
+ "title": "DuckDuckGo",
+ "url_format": "https://duckduckgo.com/?q={}"
+ },
+ {
+ "title": "FrogFind",
+ "url_format": "https://frogfind.com/?q={}"
+ },
+ {
+ "title": "GitHub",
+ "url_format": "https://github.com/search?q={}"
+ },
+ {
+ "title": "Google",
+ "url_format": "https://google.com/search?q={}"
+ },
+ {
+ "title": "Yandex",
+ "url_format": "https://yandex.com/search/?text={}"
+ }
+]