我如何在GUI应用程序中嵌入firefox? [英] How can I embed firefox in a GUI application?
问题描述
首先你需要区分HTML引擎和JavaScript引擎。
-
Firefox的HTML渲染引擎叫做Gecko。下面是关于将Gecko嵌入到您的应用程序的指南。
-
Firefox的JavaScript引擎被称为SpiderMonkey,这里是如何嵌入SpiderMonkey在您的C应用程序
Has anyone ever embedded the firefox web browser technology in their own [unmanaged] C/C++ GUI application in the same way that IE can be embedded as a COM object? (I would like to do this on Linux, not Windows). Are there "better" alternatives to firefox? I'm open to anything as long as I can use it with non-GPL code. My needs are fairly basic; I only need fundamental HTML parsing and display of static local files, but I'd take advantage of more sophisticated technology, if I can get it. I'd like to be able to use JavaScript, but I can get by without it.
First you need to differentiate between HTML engine and JavaScript Engine.
Firefoxs HTML rendering engine is called Gecko. And here is a guide about Embedding Gecko in your application.
Firefoxs JavaScript engine is called SpiderMonkey and here is How to Embed SpiderMonkey in your C application
这篇关于我如何在GUI应用程序中嵌入firefox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!