[GH-ISSUE #148] Filter blocks all image search results on Duckduckgo #84

Closed
opened 2026-08-06 02:12:58 -04:00 by saavagebueno · 8 comments
Owner

Originally created by @CinderBH on GitHub (Apr 10, 2025).
Original GitHub issue: https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/issues/148

Used via uBO, this filter often (but not always) blocks ALL image search results in Duckduckgo. Issue observed in Firefox 137.

Image

Originally created by @CinderBH on GitHub (Apr 10, 2025). Original GitHub issue: https://github.com/laylavish/uBlockOrigin-HUGE-AI-Blocklist/issues/148 Used via uBO, this filter often (but not always) blocks ALL image search results in Duckduckgo. Issue observed in Firefox 137. ![Image](https://github.com/user-attachments/assets/8f85dff5-d071-4879-b01c-6115187585b0)
Author
Owner

@itsasooz commented on GitHub (Apr 13, 2025):

Have the same problem, not 100% consistent:

Image
Image

The problem seems to be with showing images and text, as the links still seem to function. Outgoing links work as normal; the image feature links seem to open the feature, but I can't tell because no text or images.

I'm on Firefox 137.0.1, UBO 1.63.2 with everything updated. Have confirmed that the issue is caused by this particular filter.

<!-- gh-comment-id:2800188489 --> @itsasooz commented on GitHub (Apr 13, 2025): Have the same problem, not 100% consistent: ![Image](https://github.com/user-attachments/assets/b21141ef-48a1-41f0-a41e-06dda17a70e0) ![Image](https://github.com/user-attachments/assets/367a27d3-94cc-4563-b019-9298f6178593) The problem seems to be with showing images and text, as the links still seem to function. Outgoing links work as normal; the image feature links seem to open the feature, but I can't tell because no text or images. I'm on Firefox 137.0.1, UBO 1.63.2 with everything updated. Have confirmed that the issue is caused by this particular filter.
Author
Owner

@CEa-TIde commented on GitHub (Apr 26, 2025):

On Firefox 137.0.1, uBO 1.63.2, list updated.

Why it happens

This happens when any of the ai sites show up in the results (with a link).
In the case in the image below the following filter was triggered:
google.com,duckduckgo.com,bing.com##a[href*="forkful.ai"]:upward(div):style(opacity:0.00!important;)
(it is the first filter in this case)

The problem arises when evaluating :upward(div). None of the elements you want to filter are divs, so it continues until it finds the container for all images.
Image

How to reproduce:

  • Go to DDG Images
  • Search for any of the filtered ai sites so you're guaranteed to have them in the results (I searched forkful.ai)
  • The whole images container is invisible now

Potential fix

You would want to filter the first li element it finds upward instead. [...]:upward(li):style(...) would do that, but since you're also targeting google.com and bing.com, a different rule might be needed, or in the worst case even separate rules for each.

<!-- gh-comment-id:2832617365 --> @CEa-TIde commented on GitHub (Apr 26, 2025): On Firefox 137.0.1, uBO 1.63.2, list updated. ## Why it happens This happens when any of the ai sites show up in the results (with a link). In the case in the image below the following filter was triggered: `google.com,duckduckgo.com,bing.com##a[href*="forkful.ai"]:upward(div):style(opacity:0.00!important;)` (it is the first filter in this case) **The problem** arises when evaluating `:upward(div)`. None of the elements you want to filter are `div`s, so it continues until it finds the container for all images. ![Image](https://github.com/user-attachments/assets/4f28fb1a-87a7-4ebf-8807-6f409aaa1267) ## How to reproduce: - Go to DDG Images - Search for any of the filtered ai sites so you're guaranteed to have them in the results (I searched `forkful.ai`) - The whole images container is invisible now ## Potential fix You would want to filter the first `li` element it finds upward instead. `[...]:upward(li):style(...)` would do that, but since you're also targeting google.com and bing.com, a different rule might be needed, or in the worst case even separate rules for each.
Author
Owner

@khatharsis42 commented on GitHub (Apr 28, 2025):

Please fix this, it's... really annyoing

<!-- gh-comment-id:2835391873 --> @khatharsis42 commented on GitHub (Apr 28, 2025): Please fix this, it's... really annyoing
Author
Owner

@ReedGraf commented on GitHub (Apr 28, 2025):

I also am experiencing this issue and can confirm it happens irregularly.

<!-- gh-comment-id:2836107358 --> @ReedGraf commented on GitHub (Apr 28, 2025): I also am experiencing this issue and can confirm it happens irregularly.
Author
Owner

@laylavish commented on GitHub (Apr 30, 2025):

Okay, try it now. Working fine on my end.

<!-- gh-comment-id:2841286526 --> @laylavish commented on GitHub (Apr 30, 2025): Okay, try it now. Working fine on my end.
Author
Owner

@CEa-TIde commented on GitHub (Apr 30, 2025):

Also working on my end on duckduckgo, and did a quick check on bing/google as well.

<!-- gh-comment-id:2841569719 --> @CEa-TIde commented on GitHub (Apr 30, 2025): Also working on my end on duckduckgo, and did a quick check on bing/google as well.
Author
Owner

@ReedGraf commented on GitHub (Apr 30, 2025):

Also working for me now. 👍
Thanks!

<!-- gh-comment-id:2841671512 --> @ReedGraf commented on GitHub (Apr 30, 2025): Also working for me now. 👍 Thanks!
Author
Owner

@laylavish commented on GitHub (Apr 30, 2025):

Cool. Got two confirmations that it's working, closing this issue now.

<!-- gh-comment-id:2841682343 --> @laylavish commented on GitHub (Apr 30, 2025): Cool. Got two confirmations that it's working, closing this issue now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/uBlockOrigin-HUGE-AI-Blocklist#84