FROM : Andrew Harrison
DATE : Sun Jan 13 16:11:00 2008
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
DATE : Sun Jan 13 16:11:00 2008
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
| Related mails | Author | Date |
|---|---|---|
| Andrew Harrison | Jan 13, 16:11 | |
| Uli Kusterer | Jan 14, 09:36 | |
| Andrew Harrison | Jan 14, 10:35 |






Cocoa mail archive

