Skip to content
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

Can't block specifically for DDG image search #495

Open
brianadragon opened this issue Jun 20, 2024 · 3 comments
Open

Can't block specifically for DDG image search #495

brianadragon opened this issue Jun 20, 2024 · 3 comments

Comments

@brianadragon
Copy link

I'm trying to block YouTube only from image searches in DuckDuckGo in Chrome. I've tried:
$category = "images" & host = "youtube.com"
$site="duckduckgo" & host="youtube.com"
://.youtube.com/* @if($category="images")
None of these work. documentation and examples are pretty lacking, so I could be doing it wrong, or it could be not working. I'd appreciate some help. (This could really benefit from having a dedicated subreddit.)

@brianadragon
Copy link
Author

It turns out that
://.youtube.com/* @if($category="images")
works, the problem was that it won't let me highlight and block at the same time. How can I make it do both? When I unhide results I want to have them color coded so I can know at a glance what I'm looking for.

@iorate
Copy link
Owner

iorate commented Jun 23, 2024

host of YouTube is typically www.youtube.com, not youtube.com.

$category = "images" & host = "www.youtube.com"
# or
$category = "images" & host $= ".youtube.com"
# or
*://*.youtube.com/* @if($category = "images")

To block YouTube on image search and highlight it on other searches,

*://*.youtube.com/*
@1 *://*.youtube.com/* @if(! $category = "images")

@brianadragon
Copy link
Author

That highlights it in other searches, but it's all one color when blocked on the images page. Is it not possible to have some blocked items the default color and some the specified color?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants