ryszardzonk Apprentice
Joined: 18 Dec 2003 Posts: 225 Location: Rzeszów, POLAND
|
Posted: Fri Apr 20, 2018 8:32 am Post subject: Fixing advanced sed script for privoxy [working solution] |
|
|
I have look for a way to improve regular filters in privoxy and found a script I would never guess could be so powerful.
https://gist.github.com/0x46616c6b/3585720
Hence the script was created 6 years ago author could have not foreseen changes in sed itself it no longer works for filter section giving out an error Code: | "sed: character class syntax is [[:space:]], not [:space:]" |
Error is coming somewhere from here *[:[^:]]*[^:] but all my tries to fix it even with help of https://regex101.com/ failed.
Please help fixing it as without is only user.action file get created, but not the user.filter
EDIT:
Looking for a solution I found out there is much better way to protect from tracking, logging and ad placement in privoxy and is under current development which is adblock2privoxy _________________ Sky is not the limit... |
|