[webkit-help] Communicate using Microsoft COM

Ivan Yani vanuan at gmail.com
Wed Aug 29 11:32:05 PDT 2012


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.centeio at 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:vanuan at 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.centeio at 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 at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo/webkit-help****
>>
>


More information about the webkit-help mailing list