-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manage safesearch for each service #1163
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. |
I now disabled SafeSearch, but added DNS rewrites for Google and Bing: 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. |
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?
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) ? |
Yes, it will force it anyway. |
I have also recently realized a need for this feature. As a temporary solution, is there a way to achieve these DNS rewrites on a per client basis? For example, I have kids devices grouped together by MAC addresses. I would like to have safe search on Google and Bing, but not on YouTube because it is causing more problems for the YouTube Kids app. So I need to exclude YouTube from safe search. Is there an easy way to achieve this temporarily without affecting adult devices? |
This is total bs... YouTube is already filtered-out of crap by Google. You have such a complicated piece of software, yet you fail to implement some simple option to manually whitelist YouTube. It have been an on going issue for more than 2 years - that's crazy! Don't you know how to code or something? As others have mentioned, I'd like to keep Family DNS on, but I want fully functional YouTube search with comments. |
This comment has been minimized.
This comment has been minimized.
@WildByDesign, a single
Also, please consider using discussions for such questions. |
Is this still planned for implementation soon? I have the same problem. YouTube "safe search" is too restrictive and annoying, but I want the rest enabled. |
For anyone else with this problem, here is how I worked around it. This method saves you the time it would take to tediously enter each one of these rules in the GUI. Stop service Open /opt/AdGuardHome/AdGuardHome.yaml in your preferred text editor and paste in these rewrite rules:
Start the service You should now have safe search forced for everything but YouTube, just as if you had used the builtin feature. |
You can do also do this in the normal DNS rewrite rules in the GUI rather than needing to edit a YAML file. |
@DebrodeD, as was mentioned earlier, entering these manually using the GUI is very tedious. The list that sholdee shared would require 205 separate interactions with the 'Add DNS rewrite' prompt. @sholdee, thank you for your post, it's very helpful! |
Any news on the possibility do decide on which service to use safe search? For me, youtube is almost unusable with safe search enabled, no comments etc. |
If you don't feel comfortable dealing with YAML files, another easy solution (that I just implemented) was to just block all the other languages of google: ||google.ad^$important Just copy and paste this into your custom filtering rules and you're good to go, then do a couple of manual rewrites in the GUI for the normal google/bing, etc. |
I'm surprised this hasn't been explicitly stated here though it's been alluded to by the linked issue above. The Host Lists Registry has separate Safe Search lists for search engines vs. YouTube, and they work as expected when added to AdGuard Home as Blocklists. So, by adding the following list as a Blocklist, you get Safe Search in search engines but not in YouTube, which seems to be what a lot of people here (including myself) was looking for. https://adguardteam.github.io/HostlistsRegistry/assets/engines_safe_search.txt IMHO this makes the built-in Safe Search option redundant, and the AdGuard team should consider just adding these two lists as options instead. |
Thank you,, this works a treat!i |
(Updating the top post to summarize the discussion and make sure nothing is lost; original content is under the
<details>
tag. — @ainar-g)The way I see it, we'll need the following changes:
UI:
The single Use Safe Search boolean should be changed into a section of seven booleans:
Internals:
We should probably finally switch to the lists from the Hostlists Registry, at least in SafeSearch. That means using the same machinery that we already use for
dnsrewrite
rules.The support for these more fine-tuned settings should be extended to persistent clients as well.
Configuration file:
The current
safesearch_enabled
should be replaced by an object containing per-service settings. E.g.:The same in the
clients.persistent
objects.Original post content
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.
The text was updated successfully, but these errors were encountered: