yogesh-puri / fizzler

Automatically exported from code.google.com/p/fizzler
GNU General Public License v3.0
0 stars 0 forks source link

Add user-agent header customization support to Visual Fizzler #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What new or enhanced feature are you proposing?

Allow VisualFizzler to customize the User-Agent header that it uses to 
download a resource when using the Import From Web option from the File 
menu.

What goal would this enhancement help you achieve?

Some web sites serve different content based on the User-Agent header and 
this means that Visual Fizzler may see different HTML than when using a 
browser. As a result, testing a CSS selector in Visual Fizzler may give 
different results when the same selector is applied in a different agent. 
By adding an option to customize the User-Agent header, Visual Fizzler can 
be configured to retrieve the same HTML an arbitrary browser version.

Original issue reported on code.google.com by azizatif on 19 Oct 2009 at 2:38

GoogleCodeExporter commented 9 years ago
A concrete example of this issue can be observed when using Import from Web in 
Visual Fizzler to get the HTML behind http://www.microsoft.com. The attached 
file 
shows the response, which is an HTML page with a single paragraph reading:

"Your current User-Agent string appears to be from an automated process, if 
this is 
incorrect, please click this link: United States English Microsoft Homepage"

Original comment by azizatif on 19 Oct 2009 at 2:58

Attachments: