diff options
| author | KevinWh0 <45321184+ChaoticLeah@users.noreply.github.com> | 2024-06-12 13:35:37 +0200 |
|---|---|---|
| committer | KevinWh0 <45321184+ChaoticLeah@users.noreply.github.com> | 2024-06-12 13:35:37 +0200 |
| commit | c87ed513112bd25496f96c1df366a1141a6da868 (patch) | |
| tree | 948d00f11559c81339ac3802fc9180e04fc75573 /packages/frontend/src/scripts | |
| parent | merge: put back button to delete all files for a user - fixes #535 (!526) (diff) | |
| download | sharkey-c87ed513112bd25496f96c1df366a1141a6da868.tar.gz sharkey-c87ed513112bd25496f96c1df366a1141a6da868.tar.bz2 sharkey-c87ed513112bd25496f96c1df366a1141a6da868.zip | |
made it so you can pick a search engine
Diffstat (limited to 'packages/frontend/src/scripts')
| -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..925d16aafe --- /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', +}; |