Built-in browser using XULRunner

Are there any examples of using XULRunner to embed browser control in an application? (preferably in c or C ++ for native win32 applications)

I tried QT, wxWidgets, Awesomium, built-in Chrome, LLmozLib, midori and Embedding / NewApi / Win32

The best is wxWebConnect (which is part of the wxWidgets framework). Why don’t you need the entire mozilla code base to create it, and the actual browser control is perfect, as in plugins, everything is displayed correctly (gmail, youtube, etc.).

So what is my problem or question? Well, wxWebConnect uses XULRunner to embed a browser control, my application is a native win32 application, not a wxWidgets application. I searched the net to find another example of how to use XULRunner to embed the gecko browser in win32 native applications ... no luck!

Does anyone know of projects / code that just use XULRunner and don't require the entire Mozilla source tree?

Thanks.

+4
source share
3 answers

There's a list of XULRunner's based apps

https://developer.mozilla.org/en/XULRunner_Hall_of_Fame

0
source

Whether you use wxWebConnect or embed XULRunner directly, you will still have as part of your application deployment of the XULRunner engine and folder hierarchy. This is the nature of the beast.

0
source

Try GeckoFX if you are using .NET to your advantage. Looking at the GeckoFX code, you can also get enough information about implementing xulrunner in your native C ++ Win32 application.

0
source

Source: https://habr.com/ru/post/1303206/


All Articles