Ask HN: Is there a way to blacklist some sites on mobile HN?
4 points - yesterday at 5:14 AM
Hello everyone,
I browse mainly HN with my mobile (website and Hacki) and it happens to me to not want articles from one or more specific sites, let's say youtube or the nytimes for example.
To your knowledge, is there any existing HN mobile app that can do that ?
wruza
yesterday at 7:24 PM
Personally Iβm fine with simply hiding posts that I donβt want to see or visit. Hiding status remains after refresh.
az09mugen
yesterday at 8:56 PM
Thanks for the tip, but honestly it's not in my "workflow" of reading HN to read the source site of the article.
I'll keep that in mind anyway because it can be useful.
davydm
yesterday at 6:00 AM
Does Filter Keywords in settings not do what you want in hacki?
stop50
yesterday at 6:02 AM
It doesn't filter out domains. It only acts on titles.
az09mugen
yesterday at 9:34 PM
Since it seems there is no mobile app doing that, one of the choices I have is to make a pull request for this feature in the Hacki repo, based on "Filter Keywords", the code should be pretty much the same.
Maybe it's best if I discuss it with the maintainer before.
stop50
yesterday at 11:31 PM
I thought that there was already an issue, but i couldn't find it.
i would definitly support this.
esperent
yesterday at 5:51 AM
I think this can be done fairly easily with uBlock Origin. You'll need a mobile browser that supports extensions like Kiwi browser.
reify
yesterday at 7:52 AM
I dont like clicking on articles that I then discover are behind a paywall
if you have ublock origin installed you can add a filter to the "My filters" section.
this blocks wsj.
www.news.ycombinator.##.g:has(a[href="wjs."])
www.news.ycombinator.##a[href="wjs."]:upward(1)
Do the same for your search engine to eliminate all 20 pages of amazon searches from startpage when searching for a new pair of socks.
www.startpage.##.g:has(a[href="amazon."])
www.startpage.##a[href="amazon."]:upward(1)
works with startpage, google and qwant.
Just change the search engine name and website you want to block
az09mugen
yesterday at 9:02 PM
Thanks for this discovery, I admit I never went in the settings of ublock origin and that's useful !
I will definitively add some more sites in this section.