installing npapi plugin for safari on windows

Hello,

I have a plugin dll (NPAPI) which works great on Mozilla and Chrome browser.
I packaged the plugin as .xpi for mozilla and as .crx for Chrome and they are being deployed fine. I cannot find any documentation on how to package and deploy plugin in Safari. The plugin works fine if I copy it to a plugin folder but how do I initially deploy it? I have tried to create a .plist file but to no success....
Can anyone help?

Thanks in advance
Mark

npapi plugin, Windows 7, Safari 4

Posted on May 20, 2010 11:21 AM

Reply
6 replies

May 20, 2010 3:11 PM in response to h8tow8

Hi Mark...

For my NPAPI plugin I'm doing one install for all browsers that support NPAPI (well - I've only tested Chrome, FF, & Safari). No packaging required... Just a registry setting:

in HKEY CURRENTUSER\Software\MozillaPlugins create a key that is unique - something like @h8tow8.com/pluginName is the recommended format - you could also put it in HKLM but I haven't tested that.

in there add the following string values:

Description h8tow8 plugin
Path C:\path\to\plugin\marks.dll
Product Name Marks rockin plugin
Vendor Mark Inc.
Version 0.1


That should cover the 'big 3' non-IE browsers. I've tested on XP, Vista, and Win7

Hope that helps...
Chris

May 25, 2010 10:40 AM in response to h8tow8

Hi Mark...

Heh - that's something that I'm dealing with right now.. but my installation is a little convoluted.. we won't go there 🙂

Have you tried using:

navigator.plugins.refresh(boolean)

The boolean indicates if all the pages containing plugins should be reloaded. I'd give you a link to the page on developer.mozilla.org but they seem to have ongoing technical difficulties over there lately... and not just with the website. This will have to do:

http://www.devguru.com/technologies/ecmascript/quickref/navigator.html

Jun 3, 2010 7:22 AM in response to wwwhack

thank you very much once more, worked great.

i hope you do not mind me asking you 1 more question, I have a windows app running. This app has Active-X interface exposed so that my eNSAPI extension can communicate with it from mom-IE browsers and IE can use Active-X.

How would I accomplish similar task on a MAC?
I have the same application as in windows running on a MAC. What is the correct way to communicate with this app from Mozilla browsers on a MAC?

Thank you
Mark

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

installing npapi plugin for safari on windows

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.