Skip navigation.
 
mlRe: plugin that does not force rendering in a new NSView
FROM : Uli Kusterer
DATE : Mon Jan 14 09:36:04 2008

On 13.01.2008, at 16:11, Andrew Harrison wrote:
> I've created a plugin based on WebView for handling a particular 
> mime type. This works fine except, I do not want to render anything 
> in the browser - I just want to pass the url of the data to an 
> external application, i.e. I would like the user to click on a link, 
> and the external app to do its thing. Instead, because I'm 
> subclassing NSView, the browser moves to a blank page (because I 
> have nothing to render). Is there anyway to use the facilities of 
> the WebKit without forcing me to render something?



  I think you don't need a WebKit plugin for that. From what I heard, 
you can just specify the URL scheme you want to handle in your app's 
Info.plist, and then it will be called upon automatically whenever 
URLs with that particular scheme are encountered.

Cheers,
-- M. Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de

Related mailsAuthorDate
mlplugin that does not force rendering in a new NSView Andrew Harrison Jan 13, 16:11
mlRe: plugin that does not force rendering in a new NSView Uli Kusterer Jan 14, 09:36
mlRe: plugin that does not force rendering in a new NSView Andrew Harrison Jan 14, 10:35