diff options
author | Camille019 <camille019@outlook.com> | 2021-03-20 11:13:23 +0100 |
---|---|---|
committer | Camille019 <camille019@outlook.com> | 2021-03-20 11:13:23 +0100 |
commit | 2d2ef8f1f2840beba80fddff449e15cbc21a80bc (patch) | |
tree | 458d83f90145cd755f139b74d34f83d7030962ab | |
parent | Merge pull request #176 from mmatous/add-presearch (diff) | |
download | libredirect-2d2ef8f1f2840beba80fddff449e15cbc21a80bc.zip |
Add Ecosia search engine
Diffstat (limited to '')
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/assets/javascripts/helpers/google-search.js | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md index 89cdc475..3841286d 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ Privacy Redirect allows setting custom instances, instances can be found here: - [SearX](https://searx.github.io/searx/) - [DuckDuckGo](https://duckduckgo.com) - [Startpage](https://startpage.com) + - [Ecosia](https://www.ecosia.org) - [Qwant](https://www.qwant.com) - [Mojeek](https://www.mojeek.com) - [Presearch](https://www.presearch.org) diff --git a/src/assets/javascripts/helpers/google-search.js b/src/assets/javascripts/helpers/google-search.js index afa8198e..bdf4faa7 100644 --- a/src/assets/javascripts/helpers/google-search.js +++ b/src/assets/javascripts/helpers/google-search.js @@ -2,6 +2,7 @@ const targets = /https?:\/\/(((www|maps)\.)?(google\.).*(\/search)|search\.(goog const redirects = [ { link: "https://duckduckgo.com", q: "/" }, { link: "https://startpage.com", q: "/search/" }, + { link: "https://www.ecosia.org", q: "/search" }, { link: "https://www.qwant.com", q: "/" }, { link: "https://www.mojeek.com", q: "/search" }, { link: "https://search.snopyta.org", q: "/" }, |