64 points · by xvello · 4y ago · 14 comments
news.ycombinator.com##tr.athing span.titleline > a:has-text(/\bTwitter\b/):upward(tr):remove()
news.ycombinator.com##tr.athing span.titleline > a:has-text(/\bMusk\b/):upward(tr):remove()
news.ycombinator.com##tr.spacer + tr:not(.athing):remove()
The first two ones remove the post title if it contains Twitter and/or Musk. The third one removes the second line and the spacer.I also hide some machine learning topics with these rules:
news.ycombinator.com##tr.athing span.titleline > a:has-text(/\bstable\Wdiffusion\b/i):upward(tr):remove()
news.ycombinator.com##tr.athing span.titleline > a:has-text(/\bdall-e\b/i):upward(tr):remove()
I'll probably make that a configurable template for https://letsblock.it/ soon(This is not a criticism of the OP, nor a complaint - I just think it's interesting.)
I also enjoy the moderation style, which weeds out low-effort posts that plague other communities, so thanks a lot for all the hard work, Dang and team. Keep it up!
Edit: grammar
Is it time to have something like that on Hacker News?
https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
news.ycombinator.com##html:style(filter:invert(100%) hue-rotate(180deg))
news.ycombinator.com##body:style(background: white)
news.ycombinator.com##div.toptext:style(color: black) hackernews.com##tr.athing span.titleline > a:has-text(/\bTwitter\b/):upward(tr):remove()
hackernews.com##tr.athing span.titleline > a:has-text(/\bMusk\b/):upward(tr):remove()
hackernews.com##tr.spacer + tr:not(.athing):remove()