How to develop Chrome/Firefox Plugin (no Extensions ! no npapi!) - google-chrome

With the deprecation of NPAPI, how to develop a Chrome/Firefox plugin insteadof npapi plugin in windows?
i find the below results:
use pppai or nacl/pnacl from bellow link:
https://developer.chrome.com/native-client/sdk/download
but I find the notes:
Deprecation of the technologies described here has been announced for platforms other than ChromeOS.
Please visit our migration guide for details.
So how to use it and make chrome/firefox plugin that can be auto-load??
Thanks by advance and sorry for my poor English ( ask me if you don't really understand my answer )

Related

In which version of MediaWiki came the feature 'page preview'?

We've MediaWiki 1.31.0 installed, but can't find the feature 'page preview', which is described here: https://www.mediawiki.org/wiki/Page_Previews
On this feature-page there's no hint, in which version of MediaWiki this feature was implemented. Can anybody tell me?
This is not core Mediawiki functionality, but implemented via an extension. See here for more information: https://www.mediawiki.org/wiki/Extension:Popups
PS: 1.31.0 has known security issues, you should at least upgrade to 1.31.7

Difference between Gecko Plug-in API and NPAPI

Can anyone tell me the difference between Gecko API Plugin development and NPAPI plugin development ?
And can anyone provide me with startup document on NPAPI plugin ?
Thanks in advance,
Akshay Sahu.
NPAPI is the plug-in API supported by Gecko, so there is no difference.
As for getting started, search this site for "NPAPI example" or "NPAPI documentation" and you'll get plenty of previous answers to that exact question.

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.

how to get npapi plugin for NPP_StreamAsFile

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

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/