GeckoFx and WebAPI

Mar 30, 2016 at 8:38 PM

I am using GeckoFx (core of Mozilla Firefox Browser, wrapped for C#), and I was wondering, if it's possible to provide to Clearscript engine the "document" (DOM) and "window" objects from GeckoFx ?

The goal should be that clearscript scriptengine could interact with the web page loaded in the browser.

Someone has already used ClearScript with geckofx and done this sort of thing ?

2nd question : Do you know, which "Web API" or object should be implemented to load JQuery into clearscriptengine ?

Thanks for advance for your answers.

Mar 31, 2016 at 1:33 PM
Hi Sybaris,

We haven't tested with GeckoFX, but ClearScript aims to make it easy to use any managed API from script code. If you decide to give it a try, please let us know if you encounter something that doesn't work or requires special workarounds.

Thank you!