Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari Helper Applications and Plugins



I've implemented a very simple plugin for Safari that launches helper
applications for certain mime-types based on the example found here:
http://developer.apple.com/internet/safari/samples/SamplePlugInProject.dmg

I still have one problem. Please, let me know if this isn't the
appropriate forum for it.  After the application launches from a full
browser window, the Safari window is left blank. (My plugin is displayed
and it does nothing.) Since, Safari users don't to get a blank page when
an app is launched, this is bad from a UI point of view.  I can't use
JavaScript to go to the previous page because, although JavaScript is
available, JavaScript history is not. It appears that, other than by
using JavaScript, there's no way to control Safari using the plugin API.

Is there a reliable way to tell the current Safari window to go back (or
get its history) using another API? If so, can you point me to some
documentation?

Thanks in Advance,
Nick

>>>>> "Scott" == Scott Maier writes:

    Scott> Since not all browsers can necessarily be configured to
    Scott> automatically post-process downloads with your application,
    Scott> your best route is probably a plug-in (excluding custom URL
    Scott> schemes).  All Mac browsers (AFAIK) support the Netscape
    Scott> plug-in API (1), and Safari will soon support the new
    Scott> extensions to the older API (2).

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

References: 
 >Safari Helper Applications and Plugins (From: Nick Nassar <email@hidden>)
 >Re: Safari Helper Applications and Plugins (From: Scott Maier <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.