I’ve always been a fan of the app AdAway for Android. The app leverages a feature of the operating system called the hosts file to block advertisements. I previously had a Python script and then a C++ program that emulated the basic behavior of AdAway, but now I have created a Golang program that is more configurable than the Python script and doesn’t require creating a database for it.