Ask HN: Is there a way to blacklist some sites on mobile HN?

4 points by az09mugen 12 days ago

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 ?

reify 12 days ago

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 12 days ago

    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.

esperent 12 days ago

I think this can be done fairly easily with uBlock Origin. You'll need a mobile browser that supports extensions like Kiwi browser.

wruza 12 days ago

Personally I’m fine with simply hiding posts that I don’t want to see or visit. Hiding status remains after refresh.

  • az09mugen 12 days ago

    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 12 days ago

Does Filter Keywords in settings not do what you want in hacki?

  • stop50 12 days ago

    It doesn't filter out domains. It only acts on titles.

    • az09mugen 12 days ago

      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 12 days ago

        I thought that there was already an issue, but i couldn't find it. i would definitly support this.