Post Reply 
Something like “decentraleyes” for Privoxy…
Apr. 13, 2019, 06:32 PM (This post was last modified: Apr. 13, 2019 06:32 PM by vlad_s.)
Post: #34
RE: Something like “decentraleyes” for Privoxy…
It seems that the problem is somehow related to the work of ProxHTTPSProxyMII. Here is an example of how the filter works:
filter
Code:
CLIENT-HEADER-FILTER: redirect-uri-u redirect-uri-u
[email protected](GET)\s+(?:https?\:\/\/)[^\/]+\/send-stylesheet\s+(HTTP\/\d+\.\d+)$@$1 http://www.privoxy.org/p_web.css $[email protected]
[email protected](Host:)\s+.*$@$1 [email protected]

SERVER-HEADER-FILTER: add-new-header-u add-new-header-u
[email protected]^(HTTP\/\d+\.\d+\s+.*)$@$1\nAccess-Control-Allow-Origin: *@i

action
Code:
{+client-header-filter{redirect-uri-u} \
}
config.privoxy.org/send-stylesheet
{+server-header-filter{add-new-header-u} \
}
config.privoxy.org/

Test page: http://config.privoxy.org/send-stylesheet
Substitution: http://www.privoxy.org/p_web.css
The header is added, but in the filter from my post above, no.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Something like “decentraleyes” for Privoxy… - vlad_s - Apr. 13, 2019 06:32 PM

Forum Jump: