summaryrefslogtreecommitdiffstats
path: root/src/assets/javascripts/helpers/twitter.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/assets/javascripts/helpers/twitter.js')
-rw-r--r--src/assets/javascripts/helpers/twitter.js38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/assets/javascripts/helpers/twitter.js b/src/assets/javascripts/helpers/twitter.js
new file mode 100644
index 0000000..1ebc025
--- /dev/null
+++ b/src/assets/javascripts/helpers/twitter.js
@@ -0,0 +1,38 @@
+export default class {
+ /*
+ Please remember to also update the manifest.json file
+ (content_scripts > matches, 'remove-twitter-sw.js')
+ when updating this list:
+ */
+ static targets = [
+ "twitter.com",
+ "www.twitter.com",
+ "mobile.twitter.com",
+ "pbs.twimg.com",
+ "video.twimg.com",
+ ];
+ static redirects = [
+ "https://nitter.net",
+ "https://nitter.snopyta.org",
+ "https://nitter.42l.fr",
+ "https://nitter.nixnet.services",
+ "https://nitter.13ad.de",
+ "https://nitter.pussthecat.org",
+ "https://nitter.mastodont.cat",
+ "https://nitter.dark.fail",
+ "https://nitter.tedomum.net",
+ "https://nitter.cattube.org",
+ "https://nitter.fdn.fr",
+ "https://nitter.1d4.us",
+ "https://nitter.kavin.rocks",
+ "https://tweet.lambda.dance",
+ "https://nitter.cc",
+ "https://nitter.weaponizedhumiliation.com",
+ "https://nitter.vxempire.xyz",
+ "https://nitter.unixfox.eu",
+ "http://3nzoldnxplag42gqjs23xvghtzf6t6yzssrtytnntc6ppc7xxuoneoad.onion",
+ "http://nitter.l4qlywnpwqsluw65ts7md3khrivpirse744un3x7mlskqauz5pyuzgqd.onion",
+ "http://nitterlgj3n5fgwesu3vxc5h67ruku33nqaoeoocae2mvlzhsu6k7fqd.onion",
+ "http://npf37k3mtzwxreiw52ccs5ay4e6qt2fkcs2ndieurdyn2cuzzsfyfvid.onion",
+ ];
+}