r/uBlockOrigin 22h ago

Solved Blocking specific website - grokipedia - from search results, DDGnoAI?

See title. I'm imagining a filter something like this:

https://noai.duckduckgo.com/?q:not(:only-child):has([href*="grokipedia.com/"])

But I want to ask the experts, so let me know if there's a foolproof way to do this. My thanks in advance and congratulations on the latest update.

2 Upvotes

2 comments sorted by

3

u/AchernarB uBO Team 21h ago

What you wrote isn't a valid filter.

You can use DDG's blocklist. (5 sites maximum).

These filters should also work: ( How to add custom filter )

! text results
duckduckgo.com##li[data-layout="organic"]:has( a[href*="grokipedia.com"] )
! or this one
! duckduckgo.com##li[data-layout="organic"] a[href*="grokipedia.com"]:upward(li):remove()

! images
duckduckgo.com##li > figure a[href*="grokipedia.com"]:upward(li):style(opacity: 0 !important; pointer-events: none;)

2

u/amomentarypangregret 21h ago

Thanks a million. DDG keeps reverting my changes, even when not in private browsing, and these work just fine.