diff --git a/client/src/components/Settings/index.js b/client/src/components/Settings/index.js index aa654cc2..54de37c0 100644 --- a/client/src/components/Settings/index.js +++ b/client/src/components/Settings/index.js @@ -27,7 +27,7 @@ export default class Settings extends Component { safesearch: { enabled: false, title: 'Enforce safe search', - subtitle: 'AdGuard Home can enforce safe search in the following search engines: Google, Bing, Yandex.', + subtitle: 'AdGuard Home can enforce safe search in the following search engines: Google, Youtube, Bing, and Yandex.', }, }; diff --git a/dnsfilter/safesearch.go b/dnsfilter/safesearch.go index 8936d74b..af8813ca 100644 --- a/dnsfilter/safesearch.go +++ b/dnsfilter/safesearch.go @@ -198,4 +198,10 @@ var safeSearchDomains = map[string]string{ "www.google.vu": "forcesafesearch.google.com", "www.google.ws": "forcesafesearch.google.com", "www.google.rs": "forcesafesearch.google.com", + + "www.youtube.com": "restrict.youtube.com", + "m.youtube.com": "restrict.youtube.com", + "youtubei.googleapis.com": "restrict.youtube.com", + "youtube.googleapis.com": "restrict.youtube.com", + "www.youtube-nocookie.com": "restrict.youtube.com", }