• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
plugin that does not force rendering in a new NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: plugin that does not force rendering in a new NSView
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: Change Background Color of IKImageBrowserView
  • Next by Date: Re: Private Frameworks
  • Previous by thread: Re: Private Frameworks
  • Next by thread: Re: plugin that does not force rendering in a new NSView
  • Index(es):
    • Date
    • Thread