Re: Modify transparent mode
Lee <[email protected]>
| Newsgroups | gmane.comp.web.privoxy.user |
|---|---|
| Message-ID | <CAD8GWssBO=XJkDhw2ZdA44YKPpHqbxxYQetmAwXJvdH0eZizaQ@mail.gmail.com> |
On 2/3/19, Redback <[email protected]> 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