1. Intercept DNS requests to filter out requests to certain domains
2. Provide an ad and tracking blocking VPN service.
Both of these approaches can work device-wide and do not require root access to your device.
Blokada: https://blokada.org/ AdGuard: https://adguard.com/en/adguard-android/overview.html
BTW I'm listing these apps as examples but I don't know them well enough to specifically recommend either of them.
1. Intercept DNS requests to filter out requests to certain domains
2. Provide an ad and tracking blocking VPN service.
Both of these approaches can work device-wide and do not require root access to your device.
Blokada: https://blokada.org/ AdGuard: https://adguard.com/en/adguard-android/overview.html
BTW I'm listing these apps as examples but I don't know them well enough to specifically recommend either of them.