[Privoxy-users] User filter not working for php file

Lee ler762 at gmail.com
Fri Sep 16 19:09:26 UTC 2016


On 9/16/16, Dwijadas Dey <dwijad at gmail.com> wrote:
> Hi
>    List users
>      Trying to insert CSS using filter in this page
> http://html.net/tutorials/php/lesson3.php but there is no affect,
> header stays as it is. The same filter works for home page without
> .php suffix.
>
>    This is the filter
>
>    FILTER: Testfilter Cleans up header
>    s@</head>@<style type="text/css">\n\
>    .header{ display:none; }\n\
>    </style>\n$0@
>
>    Corresponding action file is
>
>    { +filter{ Testfilter  } }
>    http://html.net/tutorials/php/lesson3\.php

this ^^^ doesn't work.   See
  https://www.privoxy.org/user-manual/actions-file.html#AF-PATTERNS

try this:
{ +filter{ Testfilter  } }
.html.net/tutorials/php/lesson3\.php

Regards,
Lee


>
>   Tried with all variations of above filter but it did not work. I am
> using Privoxy
>   3.0.21 in Ubuntu 14.
>
>    Thanks
> _______________________________________________
> Privoxy-users mailing list
> Privoxy-users at lists.privoxy.org
> https://lists.privoxy.org/mailman/listinfo/privoxy-users
>


More information about the Privoxy-users mailing list