Questions tagged [npapi]

The Netscape Plugin Application Programming Interface (NPAPI) is a cross-platform plugin architecture used by many browsers, with the notable exception of Internet Explorer.

The Netscape Plugin Application Programming Interface (NPAPI) is a cross-platform plugin architecture used by many browsers, with the notable exception of Internet Explorer.

Deprecation

The NPAPI is being gradually deprecated by Google (Chrome) and Mozilla (Firefox):

  • Starting January 1st 2014, Chrome disabled NPAPI plugins by default (with the exception of a few popular plugins). However, Users are prompted and can choose to activate the plugin.
  • Chrome is expected to remove all support for NPAPI come January 2015.

  • Starting with Firefox version 30 (June 10th, 2014), NPAPI is disabled by default (Again, with the temporary exception of a few plugins). Users can still enable specific plugins using Firefox's settings menu.

Alternatives

There are a number of ways to replace the now-almost-defunct NPAPI plugins:

  • In Google's Chrome, the 2 main options are NaCl (Native Client) and Chrome extension with Native Messaging - each offering a different kind of solution.

  • In Mozilla's Firefox, the common alternative is using the js-ctypes feature which allows direct loading of .dlls. The Firefox team has indicated that they will be eventually supporting Native Messaging like Chrome does.

A rudimentary overview of the options (with comparison of their strengths and weaknesses) is available here:

http://www.firebreath.org/display/documentation/Browser+Plugins+in+a+post-NPAPI+world

The FireBreath team has also released FireBreath 2 with very sparse documentation (users are asked to help document it) which attempts to make FireBreath plugins work via Native Messaging in addition to NPAPI and ActiveX support.

Resources

732 questions
-1
votes
2 answers

NPAPI plugin framework Error

I am trying to use NPAPI Framework from Yury Sidorov by following this answer: How to embed Delphi VCL form into HTML page using NPAPI but I get an error with NPPlugin.pas. I am using delphi XE7 and here what i did by following Krom Stern…
DelphiStudent
  • 384
  • 1
  • 7
  • 23
-1
votes
1 answer

NPAPI plugin to NACL

:) Well, I have NPAPI plugin, and I need convert it to Native Client (NACL). I have all C/C++ code, but It has not made by me. So I' just a beginner about C/C++ plugins. I have been reading about NACL, and starting with the tutorial and first…
esneyderp
  • 111
  • 1
  • 12
-1
votes
1 answer

Event path in Mozilla plugin on Mac

I'm writing a mozilla plugin on the mac. I'm trying to capture events like button clicks, etc. I've done the normal thing of creating my views in inteface builder, and linking the sentActions to methods in my program. This works in stand-alone…
Brian Postow
  • 11,709
  • 17
  • 81
  • 125
-1
votes
1 answer

What web browser must to do?

I load Flash Player ( NPSWF32_12_0_0_44.dll ) Download html page and get < object > tag parameters: id="flashcontent" type="application/x-shockwave-flash" data="http://foo/foo2.swf?123456" width="800" height="600" Create Instance (with <…
Alex Shul
  • 500
  • 7
  • 22
-1
votes
2 answers

Compiling C++ code in a browser extension

I am working on a browser extension in Firefox to intercept HTTP requests and alter them. Due to the purpose of my project, I would need to incorporate a project that's built in C++ in order to process that information. Rewriting the C++ project…
-1
votes
1 answer

How to install a NPAPI plugin by running an installer or script in the background?

I want to install a NPAPI plugin as soon as my web page detects if the plugin is not there. The installation or a batch script should be run in the background without asking the user. But I think installation will require user permission, so…
abhim
  • 1,126
  • 1
  • 9
  • 19
-1
votes
1 answer

NPAPI functions Called by Javascript

I'm trying to code a hello world example of an NPAPI plugin. I implemented all the basics functions needed and i have added a Get_String() function that return a hello world string. After building, the browser can detect the plugin and all…
Abdelbari Anouar
  • 246
  • 3
  • 10
-1
votes
1 answer

Binding a trackball to NPAPI

I want to use a second pointing device (the trackball) as a control for a specific function on a program. This means I would NOT want any mouse functionality from the trackball, I just want to get the movement data and somehow use the NPAPI to get…
lswim
  • 3,064
  • 2
  • 15
  • 13
-1
votes
1 answer

Why there are so few browser extensions developed by npapi?

I want to develop extensions for some main browsers like chrome and firefox. Extensions written using npapi can work in different browsers, however, there are very few browser extensions developed with npapi. Can you tell me the reasons? Thank you.
-2
votes
1 answer

Google chrome shows npapi pugins installed on firefox

When I type chrome://plugins/ in chrome, it shows npapi plugins installed on Firefox. Do Chrome and Firefox share npapi plugins register at HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins path?
Nik
  • 682
  • 1
  • 8
  • 27
-3
votes
2 answers

how to open file in firebreath?

Possible Duplicate: A simple hello world NPAPI plugin for Google Chrome? How to open a file which includes in Chrome extension by C/C++? originally i wanted to develop a chrome extension to open a file on the user's pc. I wanted to use php fopen…
Lynob
  • 5,059
  • 15
  • 64
  • 114
-3
votes
2 answers

How to call npapi plugin method in extension

I have a test .dll file using C# with the following details Name : TestLibrary.dll Namespace name : TestLibrary Class Name : AddClass Method name : add(accepts two parameters) Language used : C# I gave lugin path in manifest.json as below …
Exception
  • 8,111
  • 22
  • 85
  • 136
1 2 3
48
49