My first thought was blocking them using AdAway or AFWall, but ironically, an adblock and a firewall are useless

Most of the URLs are pictures. I can easily get their URL

I ask to block it phonewide because my browser doesn't support custom adblocking

Didn't even try adding some lines to the phone Hosts, because my adblock overwrites it.

  • A replacement for the AdAway is very well on the table (if not VPN-based), but for the AfWall, only if it's as lightweight, as well organized, free, and again, not VPN-based
  • My browser is Opera. Not changing that.

In case AdAway can be used: If the URL needs to be a line of a host source, how should it be formatted ?

Thank you ahead

  • 2
    Adaway is not content blocker. It is hosts blocker. You add only hosts (domain names and addresses). It has no capability (AFAIK) to block content sourced from a domain. To block content, you need something granular. In case of a browser, say Firefox, you can use Ublock Origin extension. For apps, I don't know what would work.
    – Firelord
    Commented Jun 24, 2021 at 22:37
  • Changed the whole thread to put more options on the table
    – user113550
    Commented Jun 25, 2021 at 11:26
  • 1
    You can run tinyproxy server on your Android device. It supports FilterURLs option. To force redirect all traffic towards this local server, you can use redsocks2 with http-connect type. Both tools are free and open source. For hints see my answers to Using your Android phone as a proxy server and How to send all internet traffic to a SOCKS5 proxy server in local network?. Commented Jun 28, 2021 at 23:03
  • Man... Above my level... After reading twice, my brain became barely capable of Installing tinyproxy... Now the rest... All I can do is thank you for the attention and shared knowledge 😬
    – user113550
    Commented Jun 29, 2021 at 20:07
  • Can your solution, or another strategy you may know, be adapted to a "script" that AFWall can swallow ?
    – user113550
    Commented Jun 30, 2021 at 12:33


You must log in to answer this question.