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
tinyproxy
server on your Android device. It supportsFilterURLs
option. To force redirect all traffic towards this local server, you can useredsocks2
withhttp-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?. – Irfan Latif Jun 28 '21 at 23:03FilterURLs
won't work for HTTPS traffic without decryption (MITM) because in the case of SSL/TLS traffic the whole URL is not visible to the proxy. So a transparent intercepting proxy is needed. Without SSL interception only domains can be filtered using proxy. But a simpler approach to filter domains is DNS filtering usinghosts
file or by running a small DNS server (see example ofdnscrypt
). – Irfan Latif Jul 03 '21 at 18:56