I am developing on a Win7 machine with IE8 browser (the same thing happens with IE9).
I created an application with an IWebBrowser2 object embedded in its own window.
Inside this browser object, I execute javascipt code:
var txt = "Browser Name: " + navigator.appName + "\n"; txt += "Browser Version: " + navigator.appVersion + "\n"; alert(txt);
and I get the following warning: 
This confirmed my previous fears - even when IE8 \ IE9 is installed on my machine - the IWebBrowser2 object behaves as if it were IE7 (including all the annoying HTML \ CSS behaviors).
Does anyone know why this is? or better - if it is possible to embed a browser object in IE8 \ IE9 (for distribution - therefore, it must be legal)
Thanks,
source share