[Privoxy-users] Modify transparent mode

Lee ler762 at gmail.com
Sun Feb 3 13:34:05 UTC 2019


On 2/3/19, Redback <barnstorming92 at gmail.com> wrote:
> Is there a way to modify transparent mode so as to also block tracker
> /ad domains from SSL request, privoxy is running on a DD-WRT router
> (ex-netgear router).

Privoxy can't block things like
/(.*/)?js/hitbox
on SSL requests, but it can block hostname patterns like
.*tracking.
.*ad.

And it's pretty easy to turn an ad blocker hostfile into a privoxy
action file - eg
curl https://raw.githubusercontent.com/lightswitch05/hosts/master/ads-and-tracking-extended.txt
> lightswitch-hosts.txt
to get the file and
sed -e "s/0\.0\.0\.0 //" -e "s/^  *//" -e "s/  *$//" -e "/^$/d"
lightswitch-hosts.txt
to remove the leading "0.0.0.0 " on the lines

Regards,
Lee


More information about the Privoxy-users mailing list