From 15f6334748ccae9075124a15d0a79987effde990 Mon Sep 17 00:00:00 2001 From: Cybo1927 <39284087+Cybo1927@users.noreply.github.com> Date: Thu, 31 Oct 2019 12:20:13 -0500 Subject: [PATCH] * blocked_services: update hosts for whatsapp, facebook, youtube, tiktok --- home/blocked_services.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/blocked_services.go b/home/blocked_services.go index b9b5ca05..edf002c4 100644 --- a/home/blocked_services.go +++ b/home/blocked_services.go @@ -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^",