diff options
| author | dakkar <dakkar@thenautilus.net> | 2024-06-13 09:06:24 +0100 |
|---|---|---|
| committer | dakkar <dakkar@thenautilus.net> | 2024-06-13 09:06:24 +0100 |
| commit | b2cbd507fe35ad0b31b3b30fdaf180fbfcb1460e (patch) | |
| tree | 725bb756aa65b3e809a49d426d7e01e194777270 /packages/frontend/src/scripts/search-engine-map.ts | |
| parent | merge: add all missing English translations (!546) (diff) | |
| parent | merge: tweak the rate limit for `notes/create` and other improvements (!548) (diff) | |
| download | sharkey-b2cbd507fe35ad0b31b3b30fdaf180fbfcb1460e.tar.gz sharkey-b2cbd507fe35ad0b31b3b30fdaf180fbfcb1460e.tar.bz2 sharkey-b2cbd507fe35ad0b31b3b30fdaf180fbfcb1460e.zip | |
Merge branch 'develop' into future-2024-05-31
Diffstat (limited to 'packages/frontend/src/scripts/search-engine-map.ts')
| -rw-r--r-- | packages/frontend/src/scripts/search-engine-map.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/frontend/src/scripts/search-engine-map.ts b/packages/frontend/src/scripts/search-engine-map.ts new file mode 100644 index 0000000000..3fb06d135d --- /dev/null +++ b/packages/frontend/src/scripts/search-engine-map.ts @@ -0,0 +1,12 @@ +//store the URL and if its none of these its a custom one +export const searchEngineMap = { + //The first one is the default search engine + 'https://www.google.com/search?q={query}': 'Google', + 'https://duckduckgo.com/?q={query}': 'Duckduckgo', + 'https://www.bing.com/search?q={query}': 'Bing', + 'https://search.yahoo.com/search?p={query}': 'Yahoo', + 'https://www.ecosia.org/search?q={query}': 'Ecosia', + 'https://www.qwant.com/?q={query}': 'Qwant', + 'https://search.aol.com/aol/search?q={query}': 'AOL', + 'https://yandex.com/search?text={query}': 'Yandex', +}; |