summaryrefslogtreecommitdiffstats
path: root/src/assets/javascripts/helpers/google-search.js
blob: 3575f67d2b09fb4c738463a66c2f30a223812366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
const targets = /https?:\/\/(((www|maps)\.)?(google\.).*(\/search)|search\.(google\.).*)/;
const redirects = [
  { link: "https://duckduckgo.com", q: "/" },
  { link: "https://startpage.com", q: "/search/" },
  { link: "https://www.qwant.com", q: "/" },
  { link: "https://www.mojeek.com", q: "/search" },
  { link: "https://search.snopyta.org", q: "/" },
  { link: "https://searx.info", q: "/" },
  { link: "https://searx.be", q: "/" },
  { link: "https://search.disroot.org", q: "/" },
  { link: "https://searx.tuxcloud.net", q: "/" },
  { link: "https://searx.ninja", q: "/" },
  { link: "https://tromland.org/searx", q: "/search" },
  { link: "https://engine.presearch.org", q: "/search" },
  { link: "https://searx.silkky.cloud", q: "/" },
  { link: "https://search.trom.tf", q: "/" },
];

export default {
  targets,
  redirects,
};