From fab63f167ad44f95749f0a779f8805bb39c7d90a Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Fri, 8 Nov 2019 13:07:25 +0300 Subject: [PATCH] + safesearch: add Pixabay --- client/src/__locales/en.json | 2 +- dnsfilter/safesearch.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index 53f269a2..1cdef65f 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -96,7 +96,7 @@ "use_adguard_parental": "Use AdGuard parental control web service", "use_adguard_parental_hint": "AdGuard Home will check if domain contains adult materials. It uses the same privacy-friendly API as the browsing security web service.", "enforce_safe_search": "Enforce safe search", - "enforce_save_search_hint": "AdGuard Home can enforce safe search in the following search engines: Google, Youtube, Bing, DuckDuckGo and Yandex.", + "enforce_save_search_hint": "AdGuard Home can enforce safe search in the following search engines: Google, Youtube, Bing, DuckDuckGo, Yandex, Pixabay.", "no_servers_specified": "No servers specified", "general_settings": "General settings", "dns_settings": "DNS settings", diff --git a/dnsfilter/safesearch.go b/dnsfilter/safesearch.go index 6b0c2f19..db6554d0 100644 --- a/dnsfilter/safesearch.go +++ b/dnsfilter/safesearch.go @@ -213,4 +213,6 @@ var safeSearchDomains = map[string]string{ "youtubei.googleapis.com": "restrictmoderate.youtube.com", "youtube.googleapis.com": "restrictmoderate.youtube.com", "www.youtube-nocookie.com": "restrictmoderate.youtube.com", + + "pixabay.com": "safesearch.pixabay.com", }