Adguardhome: Manage safesearch for each service

Created on 7 Nov 2019  路  28Comments  路  Source: AdguardTeam/AdGuardHome

Hello,

it would be great to manage a safesearch for each service separately. Because safesearch for engines disables sites for adults mostly, but for YouTube disables half the content marked as unacceptable for kids. For example, this video is not available in safesearch mode:
https://www.youtube.com/watch?v=6YoFkb-LOzg

IMHO this is excessive, but you can only disable it with a safesearch for other services.

Thank you.

Medium feature request

Most helpful comment

I have the exact same request, definitely want this!

All 28 comments

I have the exact same request, definitely want this!

I have the same request. I would like to have the SafeSearch feature enabled, but for YouTube it is to much.
Thanks!

I now disabled SafeSearch, but added DNS rewrites for Google and Bing:
www.google.com > forcesafesearch.google.com
www.bing.com > strict.bing.com

This works as expected, but it would be nice if this is possible with a GUI option.

I now disabled SafeSearch, but added DNS rewrites for Google and Bing:
www.google.com > forcesafesearch.google.com
www.bing.com > strict.bing.com

This works as expected, but it would be nice if this is possible with a GUI option.

can you walk me through how you did that?

Filters -> DNS rewrites -> add these two rewrites there

And also make sure to disable the SafeSearch function at the general settings.

I now disabled SafeSearch, but added DNS rewrites for Google and Bing:
www.google.com > forcesafesearch.google.com
www.bing.com > strict.bing.com

This works as expected, but it would be nice if this is possible with a GUI option.

Of course that won't work. You just type google.co.uk or whatever country tld. Only way to get it to work is do this for all google, bing etc tld's.

Do we have a timeline when we can get this feature?

Propose implementation change:

Again, this's only a suggestion. I assume you guys going to display services list (companies names) in UI with toggle button for each. Isn't it good to categorize them instead?

  • Search engines (Google, Bing, Yandex and more)
  • Video platforms (Youtube, Vimeo and more)
  • Image & video sharing sites (Pixelbay, Behance and more)

We can suggest many other safe search available services and i dont see any cons when those under categories.

@ameshkov is there possible with manual rewrite (temporary measure) to have the switch checked and exclude YouTube only ?

@michaelb-ae here are the rewrites you need to add to implement safe search: https://github.com/AdguardTeam/AdGuardHome/blob/master/internal/dnsfilter/safesearch.go#L150

@ameshkov Thanks a lot for this file i had some but not all who is harder to find (yandex)

@ameshkov one question (it about safesearch but i don't want to pollute the issue with this simple question), if i enable safe search but do @@ before www.bing.com ,it will force safesearch anyway on bing or don't do it (because it's on allowlist) ?

if i enable safe search but do @@ before www.bing.com ,it will force safesearch anyway on bing or don't do it (because it's on allowlist)

Yes, it will force it anyway.

if i enable safe search but do @@ before www.bing.com ,it will force safesearch anyway on bing or don't do it (because it's on allowlist)

Yes, it will force it anyway.

Well, I want to enable safe search, but only disable youtube restricted mode on my local Adguard home DNS server. How can I do that? @ameshkov

Just as explained in the comments, you can add necessary rewrites manually.

Just as explained in the comments, you can add necessary rewrites manually.

How to edit the rewrites manually? (Only for Youtube)

@michaelb-ae here are the rewrites you need to add to implement safe search: https://github.com/AdguardTeam/AdGuardHome/blob/master/internal/dnsfilter/safesearch.go#L150

How can I edit this file on my adguard server ? @ameshkov

Settings -> DNS rewrites -> add rewrites there one by one.

Settings -> DNS rewrites -> add rewrites there one by one.

I know that, but there's is hundreds of url. Any ways to just edit the youtube DNS rewrite? And how? @ameshkov

It's not efficient to do that. Any workarounds to disable YouTube Restricted mode, but enable Safe search?? @ameshkov

No, there're no alternatives for now.

What is the normal URL of Youtube. I think I can edit that via DNS rewrites. Is is possible? @ameshkov

@ameshkov Is any ways to edit "internal/dnsfilter/safesearch.go" or anything similar on my server ?

No, there're no alternatives for now.

Nope.

You can only fork AdGuard Home, edit it, build your own version.

No, there're no alternatives for now.

Well, do you have a timeline when we can get this feature?

Planned to v0.107 (may be postponed to v0.108) so I'd say it's Q2 2021

Planned to v0.107 (may be postponed to v0.108) so I'd say it's Q2 2021

@ameshkov
We have been waiting for so long, cloud you please release that earlier?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ammnt picture ammnt  路  3Comments

Iconology picture Iconology  路  3Comments

ammnt picture ammnt  路  4Comments

xenio picture xenio  路  4Comments

ameshkov picture ameshkov  路  3Comments