Force safe search on Youtube

This commit is contained in:
Andrey Meshkov 2018-11-06 15:03:42 +03:00
parent 4a357f1345
commit fc7d93b920
2 changed files with 7 additions and 1 deletions

View File

@ -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.',
},
};

View File

@ -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",
}