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:
commit
0b7ac93076
@ -20,10 +20,10 @@ type svc struct {
|
|||||||
// client/src/helpers/constants.js
|
// client/src/helpers/constants.js
|
||||||
// client/src/components/ui/Icons.js
|
// client/src/components/ui/Icons.js
|
||||||
var serviceRulesArray = []svc{
|
var serviceRulesArray = []svc{
|
||||||
{"whatsapp", []string{"||whatsapp.net^"}},
|
{"whatsapp", []string{"||whatsapp.net^", "||whatsapp.com^"}},
|
||||||
{"facebook", []string{"||facebook.com^"}},
|
{"facebook", []string{"||facebook.com^", "||facebook.net^", "||fbcdn.net^"}},
|
||||||
{"twitter", []string{"||twitter.com^", "||t.co^", "||twimg.com^"}},
|
{"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^"}},
|
{"messenger", []string{"||fb.com^", "||facebook.com^"}},
|
||||||
{"twitch", []string{"||twitch.tv^", "||ttvnw.net^"}},
|
{"twitch", []string{"||twitch.tv^", "||ttvnw.net^"}},
|
||||||
{"netflix", []string{"||nflxext.com^", "||netflix.com^"}},
|
{"netflix", []string{"||nflxext.com^", "||netflix.com^"}},
|
||||||
@ -87,6 +87,7 @@ var serviceRulesArray = []svc{
|
|||||||
}},
|
}},
|
||||||
{"tiktok", []string{
|
{"tiktok", []string{
|
||||||
"||tiktok.com^",
|
"||tiktok.com^",
|
||||||
|
"||tiktokcdn.com^",
|
||||||
"||snssdk.com^",
|
"||snssdk.com^",
|
||||||
"||amemv.com^",
|
"||amemv.com^",
|
||||||
"||toutiao.com^",
|
"||toutiao.com^",
|
||||||
|
Loading…
Reference in New Issue
Block a user