Privoxy is a free web proxy with advanced features.
Official website: www.privoxy.org
Installation on Ubuntu/Debian:
sudo apt install privoxy
After installation, you need to specify in the settings of any browser http and SSL proxy with the address:
Performance and settings can be viewed at config.privoxy.org
The configuration files are located in the /etc/privoxy/directory
You can connect privoxy to TOR. To do this, add the following line to /etc/privoxy/config:
forward-socks4a / localhost:9050 .
forward-socks5 / 127.0.0.1:9050 .
and restart privoxy:
sudo /etc/init.d/privoxy restart