Merge: * blocked_services: update hosts for whatsapp, facebook, youtube, tiktok

Close #1141

* commit '15f6334748ccae9075124a15d0a79987effde990':
  * blocked_services: update hosts for whatsapp, facebook, youtube, tiktok
This commit is contained in:
Simon Zolin 2019-11-20 20:03:48 +03:00
commit 0b7ac93076

View File

@ -20,10 +20,10 @@ type svc struct {
// client/src/helpers/constants.js
// client/src/components/ui/Icons.js
var serviceRulesArray = []svc{
{"whatsapp", []string{"||whatsapp.net^"}},
{"facebook", []string{"||facebook.com^"}},
{"whatsapp", []string{"||whatsapp.net^", "||whatsapp.com^"}},
{"facebook", []string{"||facebook.com^", "||facebook.net^", "||fbcdn.net^"}},
{"twitter", []string{"||twitter.com^", "||t.co^", "||twimg.com^"}},
{"youtube", []string{"||youtube.com^", "||ytimg.com^", "||youtubei.googleapis.com^"}},
{"youtube", []string{"||youtube.com^", "||ytimg.com^", "||youtu.be^", "||youtubei.googleapis.com^"}},
{"messenger", []string{"||fb.com^", "||facebook.com^"}},
{"twitch", []string{"||twitch.tv^", "||ttvnw.net^"}},
{"netflix", []string{"||nflxext.com^", "||netflix.com^"}},
@ -87,6 +87,7 @@ var serviceRulesArray = []svc{
}},
{"tiktok", []string{
"||tiktok.com^",
"||tiktokcdn.com^",
"||snssdk.com^",
"||amemv.com^",
"||toutiao.com^",