[Privoxy-users] external-filter example
U.Mutlu
um at mutluit.com
Wed Jul 22 17:03:04 UTC 2020
Hi,
as a newbie to privoxy I've built the developer version (v3.0.29) with
./configure --with-mbedtls and installed it. It works.
I'm now trying to create an external-filter for experimenting. I did these steps:
config:
temporary-directory ./myTmp
(and even created that dir manually in the config-dir and set the ownership
appropriately)
user.action:
myfilters = +filter{html-annoyances} +filter{js-annoyances} +filter{all-popups}\
+filter{webbugs} +filter{banners-by-size}\
+external-filter{myTee}
user.filter:
EXTERNAL-FILTER: myTee MY TEE TEST
/usr/bin/tee /tmp/myTee_Test.txt
But privoxy won't start, writes this error to log:
2020-07-22 18:26:29.533 7f6ca8cfe700 Fatal error: can't load actions file
'/usr/local/etc/privoxy/user.action': invalid alias line (64): myfilters =
+filter{html-annoyances} +filter{js-annoyances} +filter{all-popups}
+filter{webbugs} +filter{banners-by-size} +external-filter{myTee}
What's the reason, and how to fix it? Thx.
Btw, is the word "myfilters" in the config files a hardcoded special word or
is it just a user-defined one?
More information about the Privoxy-users
mailing list