When I try to block websites on terminal (etc hosts..) it works. But when I try to do it with Youtube, it doesn't.
Typing youtube.com as a url won't open it, but if I search youtube on google for example and then click on it, it will work (redirections.)
I tried to type all forms of "youtube.com" , with https/www, without, I cleared cache, restarted my mac. Nothing worked.
Is there a way i can fully block Youtube?
youtube.comdoes not block
www.youtube.comor any other (sub)domain. Also, adding an IPv4 entry (e.g. "
0.0.0.0 www.youtube.com") does not block IPv6; you need another entry for that (e.g. "
::1 www.youtube.com") and see if that blocks it.