summaryrefslogtreecommitdiff
path: root/data/extensions/{b7f9d2cd-d772-4302-8c3f-eb941af36f76}/assets/javascripts/helpers/reddit.js
blob: 0f7c0a4e97a27d85757a9e7c37a027348797ffe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
const targets = [
  "www.reddit.com",
  "np.reddit.com",
  "new.reddit.com",
  "amp.reddit.com",
  "i.redd.it",
  "redd.it",
];
const redirects = [
  // libreddit: privacy w/ modern UI
  "https://libreddit.pussthecat.org",
  "https://libreddit.northboot.xyz",
  "https://r.walkx.fyi",
  "https://libreddit.kylrth.com",
  "https://libreddit.tiekoetter.com",
  "https://reddit.rtrace.io",
  "https://libreddit.privacydev.net",
  "https://l.opnxng.com",
  "https://lr.slipfox.xyz",
  "https://libreddit.oxymagnesium.com",
  "https://reddit.utsav2.dev",
  "https://libreddit.freedit.eu",
  "https://lr.artemislena.eu",
  "https://reddit.smnz.de",
  "https://libreddit.bus-hit.me",
  "https://snoo.habedieeh.re",
  // teddit: privacy w/ old UI
  "https://teddit.net",
  "https://teddit.zaggy.nl",
  "https://teddit.pussthecat.org",
  "https://teddit.bus-hit.me",
  "https://teddit.rawbit.ninja",
  "https://teddit.hostux.net",
  "https://teddit.no-logs.com",
  "https://teddit.projectsegfau.lt",
  "https://t.sneed.network",
  "https://old.reddit.com", // desktop
];
const bypassPaths = /\/(gallery\/poll\/rpan\/settings\/topics)/;

export default {
  targets,
  redirects,
  bypassPaths,
};