Welcome Guest Search | Active Topics | Sign In | Register

EO.WebBrowser not supported? Options
hmireault
Posted: Monday, October 20, 2014 9:33:17 AM
Rank: Advanced Member
Groups: Member

Joined: 7/14/2014
Posts: 52
Hello,

While using the EO.WebBrowser DLL, we have stumbled upon this "bug" in which some sites believe the browser is not supported. In this case, while in a Google Drive document, the website tells us that the browser we use isn't supported. Is there a way to make it so Google Drive / other websites believe that the EO.WebBrowser browser is supported?

Here is a screenshot:


Thank you in advance.
eo_support
Posted: Monday, October 20, 2014 9:30:28 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Hi,

It appears that Google tries to force user to use the latest version of browsers. It also displays a warning message for earlier version of IE Browser.

The latest Google Chrome is v38. The current version of EO.WebBrowser is based on Chrome v33. We are planing to re-sync with the latest Chrome code base soon.

As a temporarily workaround, you can overrides the WebView's CustomUserAgent property to trick Google Docs into thinking that you are in fact using the latest Google Chrome. This seems to be working fine and we are not aware of any specific features that Google Doc really needs from the latest Google Chrome ---- it seems that Google simply is using its Google Doc platform to force user to update their Chrome browsers.

You can use the following code to "pretend" to be Chrome v38:

Code: C#
webView.CustomUserAgent = 
    "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36";


Here "Chrome/38" is the key value. Without the above line EO.WebBrowser would report user agent as "Chrome/33", which is what triggered the "no longer supported" message.

Hope this helps. Please feel free to let us know if you still have any more questions.

Thanks!
hmireault
Posted: Tuesday, October 21, 2014 8:13:56 AM
Rank: Advanced Member
Groups: Member

Joined: 7/14/2014
Posts: 52
Thank you very much for the quick reply. This temporary fix is perfect for us.
eo_support
Posted: Tuesday, October 21, 2014 9:46:07 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,196
Glad that it works for you. Please feel free to let us know if you still have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.