Hacker News new | ask | show | jobs
by archargelod 611 days ago
> accounts.google.com/gsi/*

This filter might break functionality on some sites, so it's better to use more specified version:

  ||accounts.google.com/gsi/*$xhr,3p
Explanation of the relevant syntax:

  `[no prefix]`: Blocks resources that have this text string anywhere in its URL.
  `||`: Blocks resources that have a specific domain or subdomain.
  `$3p`: Ensures that resources from a domain are only blocked if you're not visiting the domain itself.
  `$xhr`: Prevents such resources from being downloaded through the titular JavaScript APIs.
More Ad-filtering syntax explained: https://github.com/DandelionSprout/adfilt/blob/master/Wiki/S...
2 comments

Thanks. Added that besides

    ||google.*/complete/search$xmlhttprequest,important
which is not for everyone, but turns off the autocomplete for me. Needs an "important" to override the override in on of the default filter lists.

And then of course:

  - google is an ok search engine with the udm 14 trick.
  - bing is an ok search engine if you use it through duckduckgo.
had to google the trick to disable ai search results, now how to apply it to all searches
Is there anyway to do this on Android mobile?
Yes, switch to a firefox based browser for android.