GeckoFx: C # to JavaScript

Discuss building things with or for the Mozilla Platform.
New Member
Posts: 1
Joined: January 14th, 2014, 1:34 am

Post Posted January 14th, 2014, 1:58 am

I just created an application using GeckoFx and I confess that it filled me with joy. And I have a desire is to go further in the development with it.

Here I want to use C # code in my pages via JavaScript. Let me explain. Indeed, with "addToJavaScriptWindowObject" with QWebKit is the ability to use a C # class via JavaScript. So I was wondering it would be the equivalence in Gecko or say GeckoFx.

Code: Select all
The aim is to achieve the following code: window.cSharpClass;
Where "window.cSharpClass" JavaScript returns the class C #.

Many thanks to those who help me to solve this issue to $ 1,000,000. :?: :?:

Return to Mozilla Development

Who is online

Users browsing this forum: No registered users and 1 guest