News for hackers. Stuff that matters.
Re:Show HN: Firefox addon that hides news articles about Cov... by iKenshu on Saturday April 04, 2020 @06:07PM (#22781941)
I suppose that this only works with a-href right?
Re:Show HN: Firefox addon that hides news articles about Cov... by sovok_x on Sunday April 05, 2020 @11:21AM (#22786076)
The filter is applied to entire content of a given tag and its subtags, here is the example for HN (has-text must be site-specific):

    news.ycombinator.com##.itemlist .athing:not(.comtr):has-text(/corona|covid|\bsars\b|(?:epi|pan)demi|virus|death|social distanc|\bICU\b|wuhan|quarantin/i)+*
    news.ycombinator.com##.itemlist .athing:not(.comtr):has-text(/corona|covid|\bsars\b|(?:epi|pan)demi|virus|death|social distanc|\bICU\b|wuhan|quarantin/i)