ActiveX is not supported by WebKit natively. However, you can try to
install ActiveX for Chrome extension.

Still, your solution seems ugly to me. But it's your choice.
On Aug 29, 2012 11:40 PM, "Nuno Centeio" <nuno.r.cent...@gmail.com> wrote:

> Currently, a web page can include <object> using a classID which is a GUID
> that he register. Using that I can start my application as a COM Local
> Server and interact with it. This is working perfectly.
>
> The main problem is that only Internet Explorer, which I have to drop, can
> handle that.
>
> I will look into WebSockets and/or REST API.
>
> Thanks for your help.
>
>  *De:* Ivan Yani <van...@gmail.com>
> *Enviada:* ‎29‎ de ‎agosto‎ de ‎2012 ‎19‎:‎32
> *Para:* nuno.r.cent...@gmail.com
> *Cc:* webkit-help@lists.webkit.org
> *Assunto:* Re: [webkit-help] Communicate using Microsoft COM
>
> Oops, accidently dropped webkit-help from Cc.
>
> > - My application opens a intranet URL (I think Webkit can be used here).
>
> Does this webpage need to interact with user?
>
> > - My application needs to execute a Javascript script (Webkit should
> allow me to do that).
>
> If you only need JavaScript, you could try Node.js.
>
> > - The worst: the intranet page needs to execute and access things in my
> application.
>
> So, basically, you need IPC between JavaScript code and your desktop
> application.
> Security considerations doesn't allow you to do that.
> The only possible way (without using NPAPI plugins) I can think about
> is via WebSockets or some kind of REST API.
>
> >
> > The final point is where I'm stuck :(
> >
> > -----Original Message-----
> > From: Ivan Yani
> > Sent:  29/08/2012 18:44:47
> > Subject:  RE: [webkit-help] Communicate using Microsoft COM
> >
> > So you're talking about a specifically crafted web page? Yes you could
> > develop an NPAPI plugin that would communicate via COM interface. But
> > that's a very complicated approach.
> >
> > What do you you want to achive?
> > On Aug 29, 2012 8:34 PM, "Nuno Centeio" <nuno.r.cent...@gmail.com>
> wrote:
> >
> >> Thanks for replying.****
> >>
> >> ** **
> >>
> >> I will use WebKit in my application. That’s decided.****
> >>
> >> However, I need that an HTML web pages (which can be opened using Google
> >> Chrome, for example) can communicate with my application. Currently, web
> >> pages can include an <object> tag that communicates with my application
> via
> >> (Microsoft) COM.****
> >>
> >> ** **
> >>
> >> Do you think that WebKit can help me in this subject?****
> >>
> >> ** **
> >>
> >> I’ve looked into XPCOM but it seems that I will have a lot of work
> >> creating the XPCOM interface.****
> >>
> >> ** **
> >>
> >> Thanks****
> >>
> >> ** **
> >>
> >> ** **
> >>
> >> *From:* Ivan Yani [mailto:van...@gmail.com]
> >> *Sent:* quarta-feira, 29 de Agosto de 2012 18:31
> >> *To:* Nuno Centeio
> >> *Subject:* Re: [webkit-help] Communicate using Microsoft COM****
> >>
> >> ** **
> >>
> >> If I understood correctly you want to use webkit in the .NET
> application.
> >> I'm afraid COM interfaces is not what you need. What you need is a .NET
> >> wrapper for WebKit. Take a look at this one:
> >> https://github.com/webkitdotnet/webkitdotnet****
> >>
> >> On Aug 29, 2012 7:25 PM, "Nuno Centeio" <nuno.r.cent...@gmail.com>
> wrote:*
> >> ***
> >>
> >> Hi.****
> >>
> >>  ****
> >>
> >> I have a WPF application that contains a WebBrowser object that is, in
> >> fact, a wrapper for Internet Explorer.****
> >>
> >> I need to change that because of performance reasons while rendering
> same
> >> pages. I want to use WebKit. However, I have a problem.****
> >>
> >>  ****
> >>
> >> My application exposes a (MS)COM interface. This way, pages inside the
> >> WebBrowser can communicate with my application. Most of the clients is
> able
> >> to simply use the <object> tag in the HTML.****
> >>
> >>  ****
> >>
> >> Is there any ways of enabling WebKit to communicate somehow with an
> >> application? I can replace my COM interface.****
> >>
> >>  ****
> >>
> >> Thanks a lot.****
> >>
> >>  ****
> >>
> >>
> >> _______________________________________________
> >> webkit-help mailing list
> >> webkit-help@lists.webkit.org
> >> http://lists.webkit.org/mailman/listinfo/webkit-help****
> >>
> >
>
_______________________________________________
webkit-help mailing list
webkit-help@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-help

Reply via email to