trisquel-icecat/icecat/extensions/gnu/{b7f9d2cd-d772-4302-8c3f-eb941af36f76}/assets/javascripts/helpers/twitter.js

30 lines
756 B
JavaScript

/*
Please remember to also update the src/manifest.json file
(content_scripts > matches, 'remove-twitter-sw.js')
when updating this list:
*/
const targets = [
"x.com",
"mobile.x.com",
"twitter.com",
"www.twitter.com",
"mobile.twitter.com",
"pbs.twimg.com",
"video.twimg.com",
];
/*
Please remember to also update the
src/assets/javascripts/remove-twitter-sw.js file
(const nitterInstances) when updating this list:
*/
const redirects = [
"https://nitter.privacydev.net",
"https://xcancel.com",
"http://nitter.pjsfkvpxlinjamtawaksbnnaqs2fc2mtvmozrzckxh7f3kis6yea25ad.onion",
"http://nitter.g4c3eya4clenolymqbpgwz3q3tawoxw56yhzk4vugqrl6dtu3ejvhjid.onion",
];
export default {
targets,
redirects,
};