Update blocked_services.go

This commit is contained in:
mHatsune 2020-07-06 09:01:15 +09:00 committed by Simon Zolin
parent ddb9a2e872
commit 4ca4fb8a11
1 changed files with 135 additions and 108 deletions

View File

@ -18,148 +18,175 @@ type svc struct {
// Keep in sync with: // Keep in sync with:
// client/src/helpers/constants.js // client/src/helpers/constants.js
// client/src/components/ui/Icons.js // client/src/components/ui/Icons.js
// Do not use ||example.TLD^ rule unless particular name is unique or many extensions belong to it
var serviceRulesArray = []svc{ var serviceRulesArray = []svc{
{"whatsapp", []string{"||whatsapp.net^", "||whatsapp.com^"}}, {"whatsapp", []string{"||whatsapp.TLD^"}},
{"facebook", []string{ {"facebook", []string{
"||facebook.com^", "||facebook.TLD^",
"||facebook.net^", "||fbcdn.TLD^",
"||fbcdn.net^", "||accountkit.TLD^",
"||accountkit.com^", "||fb.TLD^",
"||fb.me^", "||fbsbx.TLD^",
"||fb.com^", "||discoverapp.TLD^",
"||fbsbx.com^", "||freebasics.TLD^",
"||messenger.com^", "||freebasic.TLD^",
"||facebookcorewwwi.onion^", "||internet.org^",
"||fbcdn.com^", "||messenger.TLD^",
"||m.me^",
"||i.org^",
"||f8.TLD^",
"||tfbnw.TLD^",
"||fburl.TLD^",
"||hob.bi^",
"||workplace.TLD^",
"||novi.TLD^",
"||libra.org^",
"||f8.TLD^",
"||oculus.TLD^",
"||acebook.TLD^",
"||forecastapp.net^",
"||adversarialnli.TLD^",
"||facebookblueprint.TLD^",
"||facebookrecruiting.TLD^",
"||boostwithfacebook.TLD^",
"||facebooksuppliers.TLD^",
"||facebookbrand.TLD^",
"||accessfacebookfromschool.TLD^",
"||facebookcorewwwi.TLD^",
}}, }},
{"twitter", []string{"||twitter.com^", "||twttr.com^", "||t.co^", "||twimg.com^"}}, {"twitter", []string{"||twitter.TLD^", "||twttr.TLD^", "||t.co^", "||twimg.TLD^", "||ads-twitter.TLD^"}},
{"youtube", []string{ {"youtube", []string{
"||youtube.com^", "||youtube.TLD^",
"||ytimg.com^", "||ytimg.com^",
"||youtu.be^", "||youtu.TLD^",
"||googlevideo.com^", "||googlevideo.TLD^",
"||youtubei.googleapis.com^", "||youtubei.googleapis.TLD^",
"||youtube-nocookie.com^", "||youtube-nocookie.TLD^",
"||youtube", "||youtube",
}}, }},
{"twitch", []string{"||twitch.tv^", "||ttvnw.net^", "||jtvnw.net^", "||twitchcdn.net^"}}, {"twitch", []string{"||twitch.tv^", "||ttvnw.TLD^", "||jtvnw.TLD^", "||twitchcdn.TLD^"}},
{"netflix", []string{"||nflxext.com^", "||netflix.com^", "||nflximg.net^", "||nflxvideo.net^"}}, {"netflix", []string{"||nflxext.TLD^", "||netflix.TLD^", "||nflximg.TLD^", "||nflxvideo.TLD^"}},
{"instagram", []string{"||instagram.com^", "||cdninstagram.com^"}}, {"instagram", []string{"||instagram.TLD^", "||cdninstagram.TLD^", "||instagram-brand.TLD^"}},
{"snapchat", []string{ {"snapchat", []string{
"||snapchat.com^", "||snapchat.TLD^",
"||sc-cdn.net^", "||sc-cdn.TLD^",
"||snap-dev.net^", "||snap-dev.TLD^",
"||snapkit.co", "||snapkit.co",
"||snapads.com^", "||snapads.TLD^",
"||impala-media-production.s3.amazonaws.com^", "||impala-media-production.s3.amazonaws.TLD^",
}}, }},
{"discord", []string{"||discord.gg^", "||discordapp.net^", "||discordapp.com^", "||discord.com^", "||discord.media^"}}, {"discord", []string{"||discordapp.TLD^", "||discord.TLD^"}},
{"ok", []string{"||ok.ru^"}}, {"ok", []string{"||ok.ru^"}},
{"skype", []string{"||skype.com^", "||skypeassets.com^"}}, {"skype", []string{"||skype.TLD^", "||skypeassets.TLD^"}},
{"vk", []string{"||vk.com^", "||userapi.com^", "||vk-cdn.net^", "||vkuservideo.net^"}}, {"vk", []string{"||vk.TLD^", "||userapi.TLD^", "||vk-cdn.TLD^", "||vkuservideo.TLD^"}},
{"origin", []string{"||origin.com^", "||signin.ea.com^", "||accounts.ea.com^"}}, {"origin", []string{"||origin.com^", "||signin.ea.com^", "||accounts.ea.com^"}},
{"steam", []string{ {"steam", []string{
"||steam.com^", "||steam.com^",
"||steampowered.com^", "||steampowered.TLD^",
"||steamcommunity.com^", "||steamcommunity.TLD^",
"||steamstatic.com^", "||steamstatic.TLD^",
"||steamstore-a.akamaihd.net^", "||steamstore-a.akamaihd.net^",
"||steamcdn-a.akamaihd.net^", "||steamcdn-a.akamaihd.net^",
}}, }},
{"epic_games", []string{"||epicgames.com^", "||easyanticheat.net^", "||easy.ac^", "||eac-cdn.com^"}}, {"epic_games", []string{"||epicgames.TLD^", "||easyanticheat.TLD^", "||easy.ac^", "||eac-cdn.TLD^"}},
{"reddit", []string{"||reddit.com^", "||redditstatic.com^", "||redditmedia.com^", "||redd.it^"}}, {"reddit", []string{"||reddit.TLD^", "||redditstatic.TLD^", "||redditmedia.TLD^", "||redd.it^"}},
{"mail_ru", []string{"||mail.ru^"}}, {"mail_ru", []string{"||mail.ru^"}},
{"cloudflare", []string{ {"cloudflare", []string{
"||cloudflare.com^", "||cloudflare.TLD^",
"||cloudflare-dns.com^", "||cloudflare-dns.TLD^",
"||cloudflare.net^", "||cloudflareinsights.TLD^",
"||cloudflareinsights.com^", "||cloudflarestream.TLD^",
"||cloudflarestream.com^", "||cloudflareresolve.TLD^",
"||cloudflareresolve.com^", "||cloudflareclient.TLD^",
"||cloudflareclient.com^", "||cloudflare-quic.TLD^",
"||cloudflarebolt.com^", "||cloudflareapi.TLD^",
"||cloudflarestatus.com^", "||cloudflareapps.TLD^",
"||cloudflare.cn^", "||cloudflarechallenge.TLD^",
"||cloudflarepreview.TLD^",
"||cloudflarepreviews.TLD^",
"||cloudflarebolt.TLD^",
"||cloudflare-free.TLD^",
"||cloudflare-ipfs.TLD",
"||cloudflareworkers.TLD^",
"||cloudflarestatus.TLD^",
"||cloudflareaccess.TLD^",
"||cloudflareenterprise.TLD^",
"||cloudflarespeedtest.TLD^",
"||cloudflaressl.TLD^",
"||encryptedsni.TLD^",
"||mycloudflare.TLD^",
"||workers.dev^",
"||one.one^", "||one.one^",
"||warp.plus^", "||warp.plus^",
"||1.1.1.1^", "||1.1.1.1^",
"||dns4torpnlfs2ifuz2s2yf3fc7rdmsbhm6rw75euj35pac6ap25zgqad.onion^", "||dns4torpnlfs2ifuz2s2yf3fc7rdmsbhm6rw75euj35pac6ap25zgqad.TLD^",
}}, }},
{"amazon", []string{ {"amazon", []string{
"||amazon.com^", "||amazon.TLD^",
"||media-amazon.com^", "||media-amazon.TLD^",
"||primevideo.com^", "||primevideo.TLD^",
"||amazontrust.com^", "||amazontrust.TLD^",
"||images-amazon.com^", "||images-amazon.TLD^",
"||ssl-images-amazon.com^", "||amazonvideo.TLD^",
"||amazonpay.com^", "||assoc-amazon.TLD^",
"||amazonpay.in^", "||ssl-images-amazon.TLD^",
"||amazon-adsystem.com^", "||amazonpay.TLD^",
"||a2z.com^", "||amazon-adsystem.TLD^",
"||amazon.ae^", "||amazonaws.TLD^",
"||amazon.ca^", "||aboutamazon.TLD^",
"||amazon.cn^", "||awsdns-cn-00.TLD^",
"||amazon.de^", "||awsdns-00.TLD^",
"||amazon.es^", "||awsstatic.TLD^",
"||amazon.fr^", "||comixology.TLD^",
"||amazon.in^", "||boxofficemojo.TLD^",
"||amazon.it^", "||aiv-delivery.TLD^",
"||amazon.nl^", "||jtvnw.TLD^",
"||amazon.com.au^", "||awscloud.TLD^",
"||amazon.com.br^", "||goodreads.TLD^",
"||amazon.co.jp^", "||shopbop.TLD^",
"||amazon.com.mx^", "||fabric.TLD^",
"||amazon.co.uk^", "||zappos.TLD^",
"||createspace.com^", "||6pm.TLD^",
"||psdops.TLD^",
"||woot.TLD^",
"||mturk.TLD^",
"||aiv-cdn.TLD^",
"||a2z.TLD^",
"||createspace.TLD^",
"||aws", "||aws",
}}, }},
{"ebay", []string{ {"ebay", []string{
"||ebay.com^", "||ebay.TLD^",
"||ebayimg.com^", "||ebayimg.TLD^",
"||ebaystatic.com^", "||ebaystatic.TLD^",
"||ebaycdn.net^", "||ebaycdn.TLD^",
"||ebayinc.com^", "||appforebay.TLD^",
"||ebay.at^", "||ebayinc.TLD^",
"||ebay.be^", "||terapeak.TLD^",
"||ebay.ca^", "||e-bay.TLD^",
"||ebay.ch^", "||ebaydts.TLD^",
"||ebay.cn^", "||shopping.TLD^",
"||ebay.de^", "||ebaystores.TLD^",
"||ebay.es^", "||ebayglobalshipping.TLD^",
"||ebay.fr^",
"||ebay.ie^",
"||ebay.in^",
"||ebay.it^",
"||ebay.ph^",
"||ebay.pl^",
"||ebay.nl^",
"||ebay.com.au^",
"||ebay.com.cn^",
"||ebay.com.hk^",
"||ebay.com.my^",
"||ebay.com.sg^",
"||ebay.co.uk^",
}}, }},
{"tiktok", []string{ {"tiktok", []string{
"||tiktok.com^", "||tiktok.TLD^",
"||tiktokcdn.com^", "||tiktokcdn.TLD^",
"||musical.ly^", "||musical.ly^",
"||snssdk.com^", "||snssdk.TLD^",
"||amemv.com^", "||amemv.TLD^",
"||toutiao.com^", "||toutiao.com^",
"||ixigua.com^", "||ixigua.com^",
"||pstatp.com^", "||pstatp.com^",
"||ixiguavideo.com^", "||ixiguavideo.TLD^",
"||toutiaocloud.com^", "||toutiaocloud.TLD^",
"||toutiaocloud.net^", "||bdurl.TLD^",
"||bdurl.com^", "||byteimg.TLD^",
"||bytecdn.cn^", "||muscdn.TLD^",
"||byteimg.com^",
"||ixigua.com^",
"||muscdn.com^",
"||bytedance.map.fastly.net^", "||bytedance.map.fastly.net^",
"||douyin.com^", "||douyin.TLD^",
"||tiktokv.com^", "||iesdouyin.TLD^",
"||tiktokv.TLD^",
}}, }},
} }