made it so you can pick a search engine
This commit is contained in:
parent
4893efae0f
commit
c87ed51311
7 changed files with 73 additions and 4 deletions
12
packages/frontend/src/scripts/search-engine-map.ts
Normal file
12
packages/frontend/src/scripts/search-engine-map.ts
Normal file
|
|
@ -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',
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue