Skip to main content
Participant
October 20, 2016
Question

StageWebView on Windows Desktop Problem

  • October 20, 2016
  • 2 replies
  • 951 views

Hi,

I am using the StageWebView(true) method to create a browser window in Adobe Air for Win Desktop latest version. Everything looks great on my machine, but when my customer uses the app, the website is rendered using IE compatibility view. Is there any way to force StageWebView NOT to use the compatibility view? Or is there any way to tell Windows to disable this modus? I already switched off all options under "Tools/ Compatibility View Settings" in IE with no effect.

I would really appreaciate your help!

Thank you very much
Tobias

This topic has been closed for replies.

2 replies

Participating Frequently
September 23, 2017

Hi. Did you find a way to resolve this problem?

I'm having the same issue - works fine on Win7 (User agent is reported as Mozilla/5.0 Trident/7.0 rv:11.0), but on Win10 it's using compatibility mode (User agent is reported as Mozilla/4.0 Trident/7.0), and certain features are not available (e.g. window.addEventListener, JSON.stringify), breaking the JS code that should run in that StageWebView.

Colin Holgate
Inspiring
October 20, 2016

One of the parameters of StageWebView is whether the system's native browser is used. Try StageWebView(false), that will make it use an embedded browser, that may not perform as well as the native one, but should look the same for your users.

Participant
October 20, 2016

Thanks for your help Colin, sadly with the use of the embedded browser the website does not work correctly. The native browser is the way to go, if only there is a way to turn off compatibility view...

October 20, 2016

Have you tried adding the following block of HTML to the <head> section of your web pages?

<meta http-equiv="x-ua-compatible" content="IE=edge">

That tells IE to use the best/newest rendering mode available.