plugin that does not force rendering in a new NSView
plugin that does not force rendering in a new NSView
- Subject: plugin that does not force rendering in a new NSView
- From: Andrew Harrison <email@hidden>
- Date: Sun, 13 Jan 2008 15:11:00 +0000
Hi,
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've searched extensively and cannot find any docs on how this might
be achieved. The Java Web Start plugin does something similar to what
I want. I've tried getting hold of a parent frame's history, and even
tried writing out a script tag in order to try and get
document.referrer, and then load the previous page in my WebView.
Any help appreciated.
Andrew
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden