how to get npapi plugin for NPP_StreamAsFile - npapi

How can i get a npapi plugin. do i have to write for my own. or i can get it from somewhere. and please tell me that how to create a npapi.dll from npapi.h file. thanx.
or if anybody have any npapi.dll for NPP_StreamAsFile than please give me the link to download it and documentation for how to use it. thanx

Hmm. Where to start?
You don't need an npapi.dll; npapi.h is used to implement an npapi plugin, but you don't link to npapi.h. For a little more information about NPAPI plugins in general I recommend reading:
http://colonelpanic.net/2009/03/building-a-firefox-plugin-part-one/
However, at the stage you're at, I would recommend against trying to do your own plugin and suggest you try utilizing FireBreath, which is a framework that simplifies a lot of the plugin creation process. It has a good active development group that you can join if you get stuck.
http://www.firebreath.org

Related

Using a FireBreath plugin from vba

I created a JSAPI plugin that work in the browser but since the Firebreath plugin is an activex, i would like to know if it is possible to use the same plugin from VBA.
The problem is that it crash on instantiation. I suspect some browser requirement, is it possible to work around ?
I wrote firebreath, and I have no idea. I'm sure there is some way to make it work by tweaking the right things in the c++ activex code, but to my knowledge nobody has done what you're attempting.

Leveraging the document/file create functionality

Looking for some help to leverage the document/file create functionality for a chrome app that I had in mind. I tried looking at the SDK pages but couldn't find much there or maybe I was looking in the wrong place. Any help on this will be appreciated.
Check out this sample Chrome Extension for accessing the Drive API. It handles some issues for you like OAuth 2.0, which could prove a bit tricky.
https://github.com/GoogleChrome/chrome-app-samples/tree/master/gdocs

NPAPI Browser plugin

Is there any free NPAPI plugin that could provide full access to local file system?
Maybe there are some ready-for-use universal plugins which provide access to many OS native api functions?
Such a plugin would be highly dangerous; Generally people are bright enough not to leave things like that just laying around.
You could build such a thing using FireBreath, but it is very difficult to lock it down enough that nobody could create a malicious website that would use it to trash your computer.

Has anyone got a simple step by step Mozilla plugin tutorial

I'm trying to create a Mozilla browser plugin for the sole purpose of detecting with javascript whether or not an application that I have written is installed. This was inspired by another stackoverflow question and answer on a similar subject.
All I want really is a HelloWorld type example as what I need to write will be even simpler than that. There is a lot of information on the Mozilla website, but as a plugin noob and a C++ novice I'm experiencing information overload. I just need a step by step "this is how to create your first simple plugin".
I have already written the IE equivalent by following this ATL tutorial. This is the kind of level of guide that I would ideally like to find.
Please note, this is specifically about Mozilla plugins and not extensions - Googling this subject brings up a lot of information about extensions in addition to plugins.
Here is a step by step guide for how to build the npruntime sample plugin using Visual Studio. When googling for info regarding Mozilla plugin development, search for npruntime. That is the scriptable plugin standard suported by Gecko (Firefox) as well as Opera and Chrome.

Any example of writing an NPAPI plugin in Linux?

I need to write a browser plugin to communicate with another process, and it seems I have to use NPAPI plugins. Is there any example or open source NPAPI plugin I can refer to?
Many thanks for your reply.
Summary of answers
http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/
http://www.firebreath.org/
http://code.google.com/p/nixysa/
http://code.google.com/p/npapi-file-io/
2 and 3 are both frameworks to make plugin development easier.
I found one example at
http://mxr.mozilla.org/seamonkey/source/modules/plugin/samples/
you could also use the open source FireBreath plugin framework; they are nearing a 1.0 release for windows only, but it would not be hard to port it to linux; mac os shouldn't be bad either, but it will take a little work to get CMake to generate the correct bundle type =]
Yes, I am one of the primary maintainers, so I'm a bit biased. You can also find some good general information on how NPAPI works on my blog, starting here:
http://colonelpanic.net/2009/03/building-a-firefox-plugin-part-one/