summaryrefslogtreecommitdiff
path: root/data/extensions/{b7f9d2cd-d772-4302-8c3f-eb941af36f76}/assets/javascripts/helpers/reddit.js
blob: e37972bd18375c32b4869c71cf002d0f45390329 (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
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://safereddit.com",
  "https://reddit.rtrace.io",
  "https://libreddit.privacydev.net",
  "https://l.opnxng.com",
  "https://libreddit.projectsegfau.lt",
  "https://discuss.whatever.social",
  "https://snoo.habedieeh.re",
  "https://redlib.pussthecat.org",
  "https://redlib.northboot.xyz",
  "https://redlib.kylrth.com",
  "https://red.artemislena.eu",
  "https://old.reddit.com", // desktop
  "http://red.lpoaj7z2zkajuhgnlltpeqh3zyq7wk2iyeggqaduhgxhyajtdt2j7wad.onion",
  "http://snoo.habeehrhadazsw3izbrbilqajalfyqqln54mrja3iwpqxgcuxnus7eid.onion",
];
const bypassPaths = /\/(gallery\/poll\/rpan\/settings\/topics)/;

export default {
  targets,
  redirects,
  bypassPaths,
};