New ask Hacker News story: uBlock Filter for HN Ads
uBlock Filter for HN Ads
10 by perihelions | 0 comments on Hacker News.
news.ycombinator.com##:xpath(//td[contains(@class,"subtext")]):not(:has-text(/\b(comment|comments|discuss)\b/i)):xpath(.. | ../following-sibling::tr[1] | ../preceding-sibling::tr[1]):style(display: none) HN ads, AFAIK, are sponsored things that look like posts on the front page, but don't allow comments. Hence this filter rule targets "posts lacking a comments section".
10 by perihelions | 0 comments on Hacker News.
news.ycombinator.com##:xpath(//td[contains(@class,"subtext")]):not(:has-text(/\b(comment|comments|discuss)\b/i)):xpath(.. | ../following-sibling::tr[1] | ../preceding-sibling::tr[1]):style(display: none) HN ads, AFAIK, are sponsored things that look like posts on the front page, but don't allow comments. Hence this filter rule targets "posts lacking a comments section".
Comments
Post a Comment