[Privoxy-users] Text replacement doesn't work
Fabian Keil
fk at fabiankeil.de
Thu Jan 27 11:14:20 UTC 2022
Matteo Spigolon <ns at fabbricapolitica.com> wrote on 2022-01-26 at 18:36:31:
> Hi,
>
> - Server:
>
> DietPi latest version
> Privoxy 3.0.32
>
> - Client MacBook Pro with macOS Monterey 12.1
> - Browser tested: latest version of Chrome, Firefox and Safari
>
> Addes in user.filter:
>
> FILTER: berlusconi Replace all "berlusconi" with "berlusca"
> s/berlusconi/berlusca/ig
>
> Added in user.action:
>
> { +filter{berlusconi} }
> /
>
> From the log:
>
> 2022-01-26 17:42:52.337 7f43d5bf61c0 Re-Filter: Reading in filter
> "berlusconi" ("Replace all "berlusconi" with
> "berluscaz"") 2022-01-26 17:42:52.337 7f43d5bf61c0 Re-Filter:
> Adding re_filter job 's/berlusconi/berluscaz/ig' to filter berlusconi
> succeeded.
>
> If I visit any site, the word ‘Berlusconi’ isn’t replaced with
> ‘Berlusca’ in headline, sub headline and inside the article.
>
> For example in:
>
> 1. corriere.it <http://corriere.it/>
> 2. Ilfattoquotidiano.it
>
> I tried with other words, same problem in any site.
>
> Someone can help me with this configuration?
Both example URLs redirect to https when using http.
You'll therefore need to enable https inspection to filter them:
<https://www.privoxy.org/faq/misc.html#SSL>
<https://www.privoxy.org/user-manual/config.html#HTTPS-INSPECTION-DIRECTIVES>
<https://www.privoxy.org/user-manual/actions-file.html#HTTPS-INSPECTION>
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20220127/0a84e8ef/attachment.bin>
More information about the Privoxy-users
mailing list