Post Reply 
Something like “decentraleyes” for Privoxy…
Jul. 16, 2018, 09:03 PM
Post: #11
RE: Something like “decentraleyes” for Privoxy…
(Jan. 15, 2017 03:00 PM)cattleyavns Wrote:  And I also want to share another filter, this filter will disable Content-Security-Policy on all website, will prevent websites from blocking our local content.
Code:
SERVER-HEADER-FILTER: removecontentsecuritypolicy

[email protected]*@@i

The better way is we can parse Content-Security-Policy and add our local webserver's domain to it, but it is hard for me, but I think someone can do that.
I like that, but it seems not to work as websites still give messages of disabled content Sad

mixedcontent.filter
Code:
SERVER-HEADER-FILTER: removecontentsecuritypolicy
[email protected]*@@i
mixedcontent.action
Code:
{+server-header-filter{removecontentsecuritypolicy}}
192.168.1.1

I server with privoxy same content to the webpage with ssl for devices that accept local certificates and without ssl for those that don't so at least http only content would keep filtered there, but getting this to work would mean I could use only http for both.
Would I need to disable it for webpages I visit? I would like to avoid that as disabling seurity policies on web pages seems not as the best idea.

On other side have You been able to write the code that would inject information about local server as trusted into the webpage code?
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Something like “decentraleyes” for Privoxy… - ryszardzonk - Jul. 16, 2018 09:03 PM

Forum Jump: