News for hackers. Stuff that matters.
Re:Ask HN: Any way to hide all posts from specific domains? by alphabet9000 on Friday February 25, 2022 @12:05PM (#30469436)
try adding something like this to your ublock 'my filters' (if you add more, add the domains to each line, separated by a "|"), e.g. this blocks nytimes.com and economist.com.

    news.ycombinator.com##.itemlist > tbody > tr:has(.sitestr:has-text(/nytimes.com|economist.com/i))
    news.ycombinator.com##.itemlist > tbody > tr:has(.sitestr:has-text(/nytimes.com|economist.com/i)) + tr
    news.ycombinator.com##.itemlist > tbody > tr:has(.sitestr:has-text(/nytimes.com|economist.com/i)) + tr + tr

There are no comments on this comment yet.