What type of plug-ins does Safari support?
All versions of Safari support Netscape-style plug-ins. In additon to Netscape-style plug-in support, Safari 1.3 and above on Mac OS X supports Cocoa plug-ins. While not cross platform, Cocoa plug-ins are easy to create and allow your plug-in to leverage all of Cocoa’s frameworks. For more on writing Cocoa plug-ins, review the WebKit Plug-In Programming Topic and try the sample plug-ins available in the WebKit examples directory provided with Xcode. For more on writing Netscape-style plug-ins for Safari, see Apple’s Technical Note on Browser Plug-ins for Mac OS X and Netscape’s definitive Plug-in Guide. A very simple Sample plug-in is available, however you will need the appropriate header file “npapi.h” from Netscape to build the project yourself. With the transition to Intel-based processors, developers should always create universal binaries for plug-ins written with Carbon, Cocoa, or BSD APIs. For information on how to create universal binaries, see Universal Binary Programming Gui
All versions of Safari support Netscape-style plug-ins. Safari 1.3 and above support Netscape-style and Cocoa plug-ins. While not cross platform, Cocoa plug-ins are easy to create and allow your plug-in to leverage all of Cocoa’s frameworks. For more on writing Cocoa plug-ins, review the WebKit Plug-In Programming Topic and try the sample plug-ins available in the WebKit examples directory provided with Xcode. For more on writing Netscape-style plug-ins for Safari, see Apple’s Technical Note on Browser Plug-ins for Mac OS X and Netscape’s definitive Plug-in Guide. A very simple Sample plug-in is available, however you will need the appropriate header file “npapi.h” from Netscape to build the project yourself. With the transition to Intel-based processors, developers should always create universal binaries for plug-ins written with Carbon, Cocoa, or BSD APIs. For information on how to create universal binaries, see Universal Binary Programming Guidelines.