alexloizou / andiparos

Automatically exported from code.google.com/p/andiparos
0 stars 0 forks source link

Feature Request: Custom User-Agent #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

You have updated the list of user agents available. However, it is possible to 
add a text field in the Filter menu in order to send our custom user agent ?

Regards,

Original issue reported on code.google.com by nicolas....@gmail.com on 6 Jul 2010 at 6:33

GoogleCodeExporter commented 9 years ago

Original comment by a.c.neumann on 7 Jul 2010 at 10:10

GoogleCodeExporter commented 9 years ago
Implemented!

Added a new custom user-agent filter. The user-agent can now be defined in the 
options of Andiparos and is stored in the config.xml file. When starting up 
Andiparos, the xml file is parsed and the custom user-agent is set when 
present. The custom user-agent text can be changed in the options menu and is 
stored back to the xml file.

If the custom user-agent is set, the browser's user-agent is replaced by the 
custom user-agent text. Otherwise, if the custom user-agent field is left 
blank, the original user-agent of the browser is used.

Original comment by a.c.neumann on 13 Jul 2010 at 7:59