Do you want to remove adverts or block access to specific websites? Using a Raspberry Pi and Pi-hole, you can do precisely that.
Visit the website for more information, with installation and setup guides.
Once installed and setup, you get access to a web-based dashboard, displaying performance data/stats. You can create Black & White lists, restricting or granting access to specific websites plus use the full list of blocked domains.
Pi-hole is free to use and but powered by donations.