AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
25.36k stars 1.82k forks source link

Stricter YouTube safe search #5659

Open bcookatpcsd opened 1 year ago

bcookatpcsd commented 1 year ago

Prerequisites

Description

https://www.google.com/supported_domains

This appears to be the list of google owned domains.

For YouTube restriction you might think about offering a modifier for restrict.youtube vs restrictmoderate.youtube.

I am very content with the restrict..

https://github.com/AdguardTeam/AdGuardHome/commits/fc7d93b920b196e654502e1a2b720d56bae05711/dnsfilter/safesearch.go

ainar-g commented 1 year ago

I'm not exactly sure what you're asking for. Do you mean that we've missed some domains? And to add a more restricted version of YouTube safe search?

bcookatpcsd commented 1 year ago

Sorry for the lag.. some domains are missing yes.

And there is a less restricted version of youtube which is not included.. in case you were not aware..

bcookatpcsd commented 1 year ago

I would make this an include file..

If you could just update yours..

for i in (curl --silent https://www.google.com/supported_domains --stderr -); echo "||www$i^\$dnsrewrite=216.239.38.120"; end
ainar-g commented 1 year ago

Please file an issue about the Google domains in the HostlistsRegistry repo.

We'll consider a strict version of the YouTube check in the future.