Re: WebKit and window.external
Re: WebKit and window.external
- Subject: Re: WebKit and window.external
- From: Bob Ippolito <email@hidden>
- Date: Mon, 15 Aug 2005 14:14:14 -1000
On Aug 15, 2005, at 1:21 PM, Michael Hanna wrote:
In the process of porting a piece of software from Windows to Mac.
The software uses Javascript to display UI elements, and it uses
window.external to access internal COM C++ functions.
Would like to port the application without having to rewrite the
Javascript(we will likely port the COM functionality).
Is this possible without a rewrite of the Javascript, perhaps using
WebKIt? The Javascript is full of COM references. Upon a cursory
search of the archives I read that window.external is not directly
usable with WebKit a couple of years ago. Has this changed?
Any suggestions on how to approach this?
It has changed for recent versions of WebKit (10.3.9+). Look at the
WebScripting protocol and the WebScriptObject class.
-bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden