Gregory Seidman
2015-04-11 21:05:44 UTC
I'm working on a Firefox addon to reimplement Privoxy functionality. Yes, I
know there are various addons that do various things Privoxy does, but my
goal is to be able to import/export valid Privoxy .action and .filter files
(though, of course, external filters and a few actions can't be supported).
To do so, I need to be sure I understand the syntax and semantics. So, some
questions:
- Does any action OPTIONALLY take a parameter? In particular, is the
parameter to the block action required?
- Can action aliases take a parameter? I think the answer is no...
- The filter (also external-filter, but I can't support that),
crunch-client-header, client-header-filter, client-header-tagger,
crunch-server-header, server-header-filter, and server-header-tagger
actions all claim to be "Parameterized" in the documentation
<http://www.privoxy.org/user-manual/actions-file.html>, but aren't they
actually "Multi-value" in that more than one filter or tagger of the same
type (but with different parameters) can be applied to a matched
connection?
Thanks,
--Greg
know there are various addons that do various things Privoxy does, but my
goal is to be able to import/export valid Privoxy .action and .filter files
(though, of course, external filters and a few actions can't be supported).
To do so, I need to be sure I understand the syntax and semantics. So, some
questions:
- Does any action OPTIONALLY take a parameter? In particular, is the
parameter to the block action required?
- Can action aliases take a parameter? I think the answer is no...
- The filter (also external-filter, but I can't support that),
crunch-client-header, client-header-filter, client-header-tagger,
crunch-server-header, server-header-filter, and server-header-tagger
actions all claim to be "Parameterized" in the documentation
<http://www.privoxy.org/user-manual/actions-file.html>, but aren't they
actually "Multi-value" in that more than one filter or tagger of the same
type (but with different parameters) can be applied to a matched
connection?
Thanks,
--Greg