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

hotmail.com loades as if i am using cell phone not windows #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. USING VISUAL BASIc 2010 project
2. navigating to hotmail.com

i see hotmail like it would look in cell phone not windows

all versions have this problem but 0.5 cairo is ok with hotmail

Original issue reported on code.google.com by meirb...@gmail.com on 28 Nov 2011 at 8:55

GoogleCodeExporter commented 9 years ago
Probably it is a problem of the Nightly build that does not exist in the Cairo 
port. Have you tried using Cairo with OpenWebKitSharp to see if the problem 
still exists?

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

GoogleCodeExporter commented 9 years ago
found the problem you have to fill in useragent -copied from chrome:

WebKitBrowser1.UserAgent = "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.2 
(KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2"

so the web pages thinks it chrome solved all my problems amazing you can fake 
useragent to firefox ,internet explorer  whatever you like

Original comment by meirb...@gmail.com on 29 Nov 2011 at 1:42

GoogleCodeExporter commented 9 years ago
Yes, that's possible via UserAgent!

Original comment by tsumalis96@gmail.com on 29 Nov 2011 at 2:40