开发者

Google Chrome Frame in C#?

开发者 https://www.devze.com 2023-03-30 07:51 出处:网络
How can I use Google Chrome Frame in .NET\'s WebBrowser control? I know I have to have: <meta http-equiv=\"开发者_开发问答X-UA-Compatible\" content=\"chrome=1\">

How can I use Google Chrome Frame in .NET's WebBrowser control? I know I have to have:

<meta http-equiv="开发者_开发问答X-UA-Compatible" content="chrome=1">

In the beginning of the page that I'm loading, but how to do this?


Hi it's true what @ErickPetru said, but there are some other options especially with the ChromiumEmbeddedFramework. There are 2 projects targeting the .net framework. I've used CefSharp before and cefglue is new. Have a look at those for embedding a chromelike browser in a .net application.

cefglue

CefSharp


Google Chrome Frame is an Internet Explorer plugin, so WebBrowser Control isn't supported (since the control itself doens't support plugins).

At this official thread is being suggested an alternative approach using Chrome Frame ActiveX itself inside your application, but I never tried it.

0

精彩评论

暂无评论...
验证码 换一张
取 消