I'm searching a way on how to change behavior of some website in mobile browser.
- Remove annoing Ad (specific one)
- Change some elements on a website, to make it easier to read on small screen (change some css)
- Make site measure how much time I've spent on it, and "block" me from using it more time per day than I've configured.
But most of mobile browsers doesn't have extensions (and it's understandable because they often writen poorly and could eat too much CPU on not-so-powerfull device).
To be honest, Firefox for Android has addons but there are very few. Just adblocking, privacy and some bugfixing extensions. No TamperMonkey/GreasyMonkey analog.
Also, I know, that UCBrowser has it's extension store, but my Chineese is bad, and the store is all on Chinesse :)
I came to the folowing idea:
Setup my own DNS server and configure my Android to use it (now it's possible without root)
Setup my own squid proxy server
Create self-signed SSL-certificate and add it to my Android's certificates storage.
For sites where I want to make some augmentations, my DNS should give IP-address of my squid-proxy (which is using my self-signed cert or generating cerificated for needed sites, signed by my self-created authority certificate)
So I would be able to change parts of the sites, removing ads, measure time spend and so on. Everything is possible!
I have knowledge and skills to make all of the described steps (or it seems so), BUT! I don't have enough free time.
I want to know, maybe there are something like this implemented in a single service?
Or maybe you could direct me to some easier solution of the problem?