添加新的Microsoft边到Web浏览器的控制? [英] Add new Microsoft Edge to web browser control?

查看:278
本文介绍了添加新的Microsoft边到Web浏览器的控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新的Windows 10与微软的边缘已经到来。我要问你,我该怎么把它添加到我的网页浏览器的控制?我需要它,因为实际的Web浏览器控件不允许JavaScript和CSS3。

The new Windows 10 with Microsoft Edge has arrived. I want to ask you, how can I add it to my web browser control? I need it because the actual web browser control doesn't allow JavaScript and CSS3.

我以前也与项目WebKit和Awesomium添加Chrome浏览器,但他们不记得登录凭据(我需要他们为我的应用程序),所以我不得不使用I.E.很遗憾。

I used to also add Chrome browser with the projects WebKit and Awesomium but they didn't remember the login credentials (I need them for my app) so I have to use I.E. unfortunately.

推荐答案

不幸的是,似乎目前还没有办法用边缘在MS WebBrowser控件,而无需使用第三方插件。虽然提出了解决方案,以添加DWORD:00002ee1到FEATURE_BROWSER_EMULATION使网页浏览器来(错误地)报道边缘/ 12.9200_AGENT为USER_AGENT,其实它仍然使用三叉戟引擎来呈现网页内容。如此看来,微软曾计划以支持WebBrowser控件边缘,但没有拿完,忘了取出相应的仿真关键。您可以通过浏览到 http://html5test.com/ 验证这一点,其中342和347点(同为IE11)之间的web浏览器控制分数线,而边缘的分数397分。

Unfortunately it seems that there is currently no way to use Edge in a MS webbrowser control without using third party addons. While the proposed "solution" to add dword:00002ee1 to FEATURE_BROWSER_EMULATION causes the webbrowser to (falsely) report Edge/12.9200_AGENT as USER_AGENT, in fact it still uses the Trident engine to render the web content. So it seems that Microsoft had planned to support Edge in webbrowser control but did not get finished and forgot to take out the corresponding Emulation key. You can verify this by browsing to http://html5test.com/ where the webbrowser control scores between 342 and 347 points (the same as IE11), while Edge scores 397 points.

这篇关于添加新的Microsoft边到Web浏览器的控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆