I am searching for a way to block websites without having root access. Is there any way to do it? Any help will be appreciated.
I wanted to point out another possible solution, since I had some inconveniences with FilterProxy. I now use DNS 66, which, conveniently, can also block ads, etc.
I just had to create my own hosts file myhosts.txt somewhere on my phone with the following entries:
127.0.0.1 localhost ::1 localhost 0.0.0.0 www.badwebsite1.com 0.0.0.0 www.badwebsite2.com
You can install DNS 66 via F-Droid. And of course you can use an app locker to protect it, as described in the post by Izzy.