summaryrefslogtreecommitdiffstats
path: root/src/assets/javascripts/helpers/reddit.js
blob: 46fff4cf8e62c498384bf6d4535625fb22b62487 (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
export default class {
  static targets = [
    "www.reddit.com",
    "np.reddit.com",
    "new.reddit.com",
    "amp.reddit.com",
  ];
  static redirects = [
    "https://old.reddit.com", // desktop
    "https://i.reddit.com", // mobile
    // teddit: privacy w/ old UI
    "https://teddit.net",
    "https://teddit.ggc-project.de",
    "https://teddit.kavin.rocks",
    "https://snew.notabug.io", // anti-censorship
    // libreddit: privacy w/ modern UI
    "https://libredd.it",
    "https://libreddit.spike.codes",
    "https://libreddit.kavin.rocks",
    "https://libreddit.insanity.wtf",
    "https://libreddit.dothq.co",
  ];
  static bypassPaths = /\/(gallery\/poll\/rpan\/settings\/topics)/;
}