I know how to swap something with something with privoxy, e.g:
s/class="node ad"/class="node ad" style="display:none"/g
But how can I delete a line with privoxy? E.g.: If a line contains:
RANDOM STRING BEFORE<a href="/forum/100">Offtopic</a></td>RANDOM STRING AFTER
then what should I write in the user.action file to delete the line?
I'm searching for this kind of "sed" effect in Privoxy:
echo -e "asdf\nsomething2\nadf" | sed '/thing2/d;'
If I use "/Offtopic/d" in the user.filter file it doesn't works. (And yes, I have other rules in user.filter perfectly working.)