3 ms·
Ask HN: How can I filter certain domains in my HN feed?
I would like to auto-avoid certain domains (let's call them flirgleburk.co and gringlepuff.net for sake of argument)
Is there a way to prevent certain source domains from showing in my HN feed?
ie, any time a flirgleburk.co or gringlepuff.net link is posted, hide it from my view?
- verdverm 4y agoUsing a browser plugin, there are probably multiple options. It should be able to match strings and then remove elements. Ad Block can do this to some extent, as an example.
- nonamesleft 4y agouBlock origin custom filter: news.ycombinator.com##tr.athing:has(td.title):has(span):has(a:has-text(/(flirgleburk\.co|gringlepuff\.net)$/)) news.ycombinator.com##tr.athing:has(td.title):has(span):has(a:has-text(/(flirgleburk\.co|gringlepuff\.net)$/)) + tr news.ycombinator.com##tr.athing:has(td.title):has(span):has(a:has-text(/(flirgleburk\.co|gringlepuff\.net)$/)) + tr + tr.spacer Might not be 100% optimal filter but it has worked for me for quite some time.
- surprisetalk 4y agoHere's a userscript to block any arbitrary keywords: [1] https://gist.github.com/surprisetalk/462789361723211fcda71e13fa08bbc0 https://gist.github.com/surprisetalk/462789361723211fcda71e1...