[Privoxy-users] Privoxy to transform shopping sites browsing

Fabian Keil fk at fabiankeil.de
Sat Sep 3 14:09:54 UTC 2016


"fred at qwantic.com" <fred at qwantic.com> wrote:

> I must conduct a study on customer / price behaviour.
> In order to do so, I am thinking about using a computer browsing through
> localhost privoxy to modified real commercial websites.
> 
> 
> I need to change branding (remove div or ccs related parts) and change
> product prices and change shopping cart validation process (localhost
> php process). My 1st try is on http://banggood.com, others could follow.
> 
> As I am really new to privoxy, I would really appreciate any help from
> the community. I succeed in hidding portions, but not in calculate
> changings on prices yet.

Privoxy's interal filteres aren't powerful enought to do proper
calculations, but you could create a filter that replaces certain
prices with other prices that were calculated by yourself or a
script that is generating the filters.

If support for external filters is compiled in, they could be used
to do proper calculations on-the-fly:
http://config.privoxy.org/user-manual/actions-file.html#EXTERNAL-FILTER

It would be a bit more work and depending on how many different prices
have to be changed in may not be worth it, though.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.privoxy.org/pipermail/privoxy-users/attachments/20160903/ff1ea7b1/attachment.bin>


More information about the Privoxy-users mailing list