From: SourceForge.net <no...@so...> - 2006-08-18 12:30:15
|
Support Requests item #1433017, was opened at 2006-02-16 17:09 Message generated for change (Comment added) made by fabiankeil You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=1433017&group_id=11118 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: other Group: 3.0.x Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Applying a filter to the "User-Agent" header Initial Comment: Hello. Is it possible to configure Privoxy to filter outgoing User-Agnet header like incoming content with regexp? I want to filter out OS information from the "User-Agent" headers coming from multiple browsers automatically but can't find anything in the documentation, only replacing the whole header with "{+hide-user-agent{<string>}}". ---------------------------------------------------------------------- Comment By: Fabian Keil (fabiankeil) Date: 2006-08-18 12:30 Message: Logged In: YES user_id=875547 FYI: header filtering is available in Privoxy's cvs version since about two weeks. An example and some of the limitations can be found at: http://www.fabiankeil.de/sourcecode/privoxy/index.html#filter-headers Note however, that in the cvs version filter-headers was replaced with filter-client-headers and filter-server-headers. ---------------------------------------------------------------------- Comment By: Fabian Keil (fabiankeil) Date: 2006-03-02 16:04 Message: Logged In: YES user_id=875547 Script and Cron: http://www.fabiankeil.de/sourcecode/uagen.pl ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-03-02 15:53 Message: Logged In: NO Fabian Keil, How do you change it? Script? Cron (at etc)? Manually? ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-02-18 16:57 Message: Logged In: NO I need to keep it because changing the header to a different browser "(...) breaks many web sites that depend on looking at this header in order to customize their content for different browsers (...)." (from the docs) I should've made it clear earlier but user tracking isn't an issue for me but the custom browser content is. ---------------------------------------------------------------------- Comment By: Fabian Keil (fabiankeil) Date: 2006-02-18 14:44 Message: Logged In: YES user_id=875547 I don't understand why you want to leave the rest of the header untouched, it reveals more information than necessary. Even if I could just change the os, I wouldn't do it. I use different browsers myself, privoxy sends a faked Firefox user-agent which is changed every five minutes. For me that's good enough. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-02-17 23:23 Message: Logged In: NO Yes, I'm using about 4 browsers on 3 different systems (VM) at any given time. I'd like to get rid of or forge the OS information keeping the rest of the header untouched. Something like applying 's/([Linux info]|[FreeBSD info])/[Windows XP info]/' to the header. ---------------------------------------------------------------------- Comment By: Fabian Keil (fabiankeil) Date: 2006-02-17 15:36 Message: Logged In: YES user_id=875547 Replacing the whole header is the only way I know of. Removing the OS information wouldn't be a good idea anyway, it makes user tracking easier. Is there a reason why you can't use a faked user-agent? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=211118&aid=1433017&group_id=11118 |