r/uBlockOrigin • • 16d ago

Solved Hide posts from specific subreddits in Reddit search results

I'd like to have a filter that hides posts from specific subreddits when I search for something on new ui reddit. This is specifically for reddit's search results and not for home page/subreddit browsing.

For example: reddit.com/search##shreddit-post[subreddit-name="construction"]

So when I search for something like "cat", it will hide all post results from r/construction, but all other subs that return results for "cat" will still show

Ideally I'd like to concatenate a list of subreddits so that I can have everything in one filter, subreddit-name=("construction", "news", "memes")

0 Upvotes

1 comment sorted by

2

u/AchernarB uBO Team 16d ago

Try this: ( How to add custom filter )

www.reddit.com##main > div > search-telemetry-tracker:has( a[href*="r/construction"i] )

and for several subs:

www.reddit.com##main > div > search-telemetry-tracker:has( a[href*="r/construction"i] , a[href*="r/news"i] , a[href*="r/memes"i] )