Status: open Group: 3.0.15 Labels: blocking mime-type Created: Tue Mar 26, 2019 10:05 AM UTC by Laszlo Horvath Last Updated: Tue Mar 26, 2019 10:05 AM UTC Owner: nobody
Hi,
how can I block audio and video stream by content-type? For example the
youtube stream content types are video/webm and audio/webm?
Privoxy can't see the content type if it's an encrypted connection, so
you're not going to be able to block by content type on sites like
youtube that redirect http:// to https://
But for sites that are clear-text, probably something like this in
your user.action
Tag every request with the content type declared by the server
On 3/26/19, Laszlo Horvath wrote:
Privoxy can't see the content type if it's an encrypted connection, so
you're not going to be able to block by content type on sites like
youtube that redirect http:// to https://
But for sites that are clear-text, probably something like this in
your user.action
Tag every request with the content type declared by the server
{ +server-header-tagger{content-type} }
/
{ +block{audio/video} }
block webm audio & video
TAG:^audio/webm
TAG:^video/webm
Regards,
Lee
Related
Support Requests: #1727
Thank you.