Post Reply 
Boosting Privoxy's Filtering Capabilities with Customised Filters
Aug. 04, 2015, 02:39 PM (This post was last modified: Aug. 04, 2015 02:46 PM by Faxopita.)
Post: #1
Boosting Privoxy's Filtering Capabilities with Customised Filters
In connexion with your post:

(Aug. 04, 2015 11:08 AM)cattleyavns Wrote:  Block WebRTC:
Code:
FILTER: blockwebrtc
s†(^[^;]*?(?:<head[^>]*?>|<body[^>]*?>|<script[^>]*?>[^>]*?</script>))†\n<script>function NoWebRTC(e){return 1}window.RTCPeerConnection=NoWebRTC; window.webkitRTCPeerConnection=NoWebRTC; window.mozRTCPeerConnection=NoWebRTC;</script>\n$1†i

Test: https://diafygi.github.io/webrtc-ips/

I've just added the filter in my user.filter file, but fails to work on the test site. I'm having the same issue with the other filters as well. Privoxy loads the filter with success, but get “0 hits” every time I visit the test sites.

In my user.action file, I've got this:
Code:
{ +filter{blockwebrtc} }
  /

My Privoxy version: 3.0.21
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Boosting Privoxy's Filtering Capabilities with Customised Filters - Faxopita - Aug. 04, 2015 02:39 PM

Forum Jump: