npapi

Can't get NPAPI plugin listed in HKLM\Software\MozillaPlugins\ to instantiate

I've written an NPAPI plugin which, if I place it in %ProgramFiles\Mozilla FireFox\plugins, instantiates and runs correctly. However, because I'd like it to work with other browsers as well, my preference would be to register it in HKLM\Software\MozillaPlugins\, as described here. So in my installer, I create these registry entries: ...

How to convert ActiveX control to NPAPI plugin

I have an ActiveX control which is designed to * Search for nearby wireless networks * Create a wireless access point * Manage network adapters I would like this plugin to work in Google Chrome/Firefox. In IE; I can use the following code to embed: <object classid="clsid:33FC4347-8118-4DB5-BFBE-8FCF2C96A997" width="32" height="32" id="...

NPAPI automatic install

I've wrote NPRuntime/ActiveX plugin using FireBreath. I've done automatic installation from web-page for Firefox and Google Chrome, but I can't do it for opera and IE. Please, help me to understand how to do it. Edit: Now I'm trying to make WiX installer for it, but I see no *.msi file in project directory after building only plugin wit...

Call external executable from NPAPI on OS X?

I'm developing an application (download manager-type) on OS X that I would like to integrate with the major Mac browers (Safari, Firefox, Chrome, Opera, Camino) via the Mozilla plug-in API, NPAPI. I have a basic understanding of how to register my app on the Mac to handle specific URL's and file types (via the Launch Services API, the in...

NPAPI and Google Chrome on Linux

Hey all, I'm working on an NPAPI plugin on Linux and have run into several issues with Google Chrome (albeit it works perfectly on Firefox). Firstly, the plugin execution would hang and after a long harrowing time I figured out that the call to NPN_Evaluate hangs when the last parameter (for the returned result) is NULL. It works on Fi...

Handling crash dumps from Firefox and Google Chrome

Hey all, I'm developing a cross-platform NPAPI+XPCOM extension for Firefox and Google Chrome (Windows, Linux and Mac). I was wondering if anyone could enlighten me on the best practices of handling component crashes. As I understand it, currently Mozilla's Crash Reporter submits mini-dumps and crash reports created to Mozilla Dev. I ex...

Add ActiveX and NPAPI Plugin in one page using Nested Object Tag

I want to embed both an ActiveX and NPAPI plugins in one page using nested object tags (as recommended by Mozilla) instead of relying on user agent. The problem is: I want to use one object id, such as id="MyObject", which will be defined in both object tags (for the ActiveX or NPAPI) so that my Javascript calls the object MyObject dir...

popup chrome NPAPI extention, redirecting to new tab

Hey I got a quick question: I have got a chrome extension that adds a popup page to the toolbar. It accepts input from the user then calls a NPAPI dll which generates an XML file. I would like to be able to, after the NPAPI dll finishes its work, create a new tab which would open to the newly generated XML page. Can anyone help me out ...

Plugins + Extensions on Safari 5.0.1

Hey guys, My question is very simple: Is it possible to pack plugins into extensions for Safari? For instance, the exact NPAPI plugins which work on Google Chrome also work on Safari. However in Chrome I'm shipping the plugins as a part of an extension (a CRX package). This is needed because HTML and JavaScript is injected into a specif...