X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=tools%2Fuagen.pl;h=b6af7332751fdef522ab574bee6f5f1d3cd016fc;hp=1e7dcdd98494e8ec6b9975d55cc0483df77eb583;hb=a5b4d31ab5ad2ed24cdb53ffa92679411b4176b0;hpb=977668fbc148a4a991c9bc4825f02fd6ebb89055 diff --git a/tools/uagen.pl b/tools/uagen.pl index 1e7dcdd9..b6af7332 100755 --- a/tools/uagen.pl +++ b/tools/uagen.pl @@ -6,17 +6,18 @@ # Generates a pseudo-random Firefox user agent and writes it into a Privoxy action file # and optionally into a Mozilla prefs file. For documentation see 'perldoc uagen(.pl)'. # -# Examples (created with v1.0): +# Examples (created with v1.2.2): # -# Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.8.0.2) Gecko/20060421 Firefox/1.5.0.2 -# Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-CA; rv:1.8.0.2) Gecko/20060425 Firefox/1.5.0.2 -# Mozilla/5.0 (X11; U; SunOS i86pc; no-NO; rv:1.8.0.2) Gecko/20060420 Firefox/1.5.0.2 -# Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.8.0.2) Gecko/20060422 Firefox/1.5.0.2 -# Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.8.0.2) Gecko/20060415 Firefox/1.5.0.2 -# Mozilla/5.0 (X11; U; OpenBSD sparc64; pl-PL; rv:1.8.0.2) Gecko/20060429 Firefox/1.5.0.2 -# Mozilla/5.0 (X11; U; Linux i686; en-CA; rv:1.8.0.2) Gecko/20060413 Firefox/1.5.0.2 +# Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 +# Mozilla/5.0 (Macintosh; PPC Mac OS X; rv:78.0) Gecko/20100101 Firefox/78.0 +# Mozilla/5.0 (X11; NetBSD i386; rv:78.0) Gecko/20100101 Firefox/78.0 +# Mozilla/5.0 (X11; OpenBSD alpha; rv:78.0) Gecko/20100101 Firefox/78.0 +# Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 +# Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 +# Mozilla/5.0 (X11; ElectroBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 +# Mozilla/5.0 (X11; FreeBSD i386; rv:78.0) Gecko/20100101 Firefox/78.0 # -# Copyright (c) 2006-2011 Fabian Keil +# Copyright (c) 2006-2020 Fabian Keil # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -323,7 +324,7 @@ sub write_prefs_file() { } sub VersionMessage() { - printf UAGEN_VERSION . "\n" . 'Copyright (C) 2006-2011 Fabian Keil ' . + printf UAGEN_VERSION . "\n" . 'Copyright (C) 2006-2020 Fabian Keil ' . "\nhttps://www.fabiankeil.de/sourcecode/uagen/\n"; } @@ -583,10 +584,8 @@ could look like this one: =head1 CAVEATS -If the browser opens an encrypted connection, Privoxy can't inspect -the content and the browser's headers reach the server unmodified. -It is the user's job to use Privoxy's limit-connect action to make sure -there are no encrypted connections to untrusted sites. +Use the https-inspection action to make sure Privoxy can modify +the browser's headers for encrypted traffic as well. Mozilla users can alter the browser's User-Agent with the B<--prefs-file> option. But note that the preference file is only read