Menu

#1727 blocking by mime-type

3.0.15
open
nobody
5
2019-03-26
2019-03-26
No

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?

Thanks,
Snozee

Related

Support Requests: #1727

Discussion

  • Lee

    Lee - 2019-03-26

    On 3/26/19, Laszlo Horvath wrote:

    ** [support-requests:#1727] blocking by mime-type**

    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

    { +server-header-tagger{content-type} }
    /

    { +block{audio/video} }

    block webm audio & video

    TAG:^audio/webm
    TAG:^video/webm

    Regards,
    Lee

     

    Related

    Support Requests: #1727

  • Laszlo Horvath

    Laszlo Horvath - 2019-03-26

    Thank you.

     

Log in to post a comment.

MongoDB Logo MongoDB