clobba / open-webkit-sharp

Automatically exported from code.google.com/p/open-webkit-sharp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

webbrowser version compatibility #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. some web pages don't recognize the browser/don't support it
and ask to install ie,firefox or chrome is it possible to change it so it would 
be recognized as chrome or somthing else that is suuported?

Original issue reported on code.google.com by meirb...@gmail.com on 29 Nov 2011 at 1:18

GoogleCodeExporter commented 9 years ago
You must set the UserAgent string to one of the popular browsers'. I suggest 
chrome's one: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/A.B 
(KHTML, like Gecko) Chrome/X.Y.Z.W Safari/A.B.

Example: <webkitbrowser>.UserAgent = "Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US) AppleWebKit/A.B (KHTML, like Gecko) Chrome/X.Y.Z.W Safari/A.B.";

Original comment by tsumalis96@gmail.com on 29 Nov 2011 at 1:21