diff options
| author | SimonBrazell <simon@brazell.com.au> | 2021-01-10 22:04:03 +1100 |
|---|---|---|
| committer | SimonBrazell <simon@brazell.com.au> | 2021-01-10 22:04:03 +1100 |
| commit | 944f2e6ef09a1534bac061acca2e3b3a4c13b13a (patch) | |
| tree | 86bbd36f9896db47b6938d098658192bd31db01e /src/assets/javascripts/helpers/twitter.js | |
| parent | c442c3e74bc181ca05fc510b7fcd05117ddd1afc (diff) | |
| download | privacy-redirect-944f2e6ef09a1534bac061acca2e3b3a4c13b13a.tar.gz privacy-redirect-944f2e6ef09a1534bac061acca2e3b3a4c13b13a.tar.bz2 privacy-redirect-944f2e6ef09a1534bac061acca2e3b3a4c13b13a.zip | |
Restructure code with helper modules, add search engine settings, & advanced settings collapsibles.
Diffstat (limited to 'src/assets/javascripts/helpers/twitter.js')
| -rw-r--r-- | src/assets/javascripts/helpers/twitter.js | 38 |
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", + ]; +} |
