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
37
votes
4 answers

How to write a browser plugin?

I'm curious as to the procedure for writing browser plugins for browsers like Chrome, Safari, and Opera. I'm thinking specifically of Windows here and would prefer working with C++. Are there any tools or tutorials that detail the process? Note: I…
Nathan Osman
  • 71,149
  • 71
  • 256
  • 361
27
votes
3 answers

Detecting NPAPI support in Chrome using javascript

As Google Chrome is dropping support for NPAPI post September 2015. Is there any way to detect the NPAPI support in chrome using JavaScript so that Alternative content will be load or show warning message to User to use an older version of Chrome.
Saokat Ali
  • 1,055
  • 2
  • 12
  • 18
17
votes
5 answers

Google Chrome Extension: Print the page silently

I'm developing an internal Google Chrome Extension that needs a way to initiate print the current page to the printer. I do not want the default Print dialog to come up (so, javascript:window.print() is out of question). As far as I understand,…
Sai Prasad
  • 695
  • 1
  • 6
  • 14
16
votes
2 answers

A simple hello world NPAPI plugin for Google Chrome?

I am trying to make a chrome plugin but Chrome API doesn't give me enough power. I want to use NPAPI but I have no idea how to use it but I do have experience in Visual C++. Can someone show me a 'Hello world' in C++ application so I can get…
Kristina
  • 15,859
  • 29
  • 111
  • 181
15
votes
3 answers

Deployment of NPAPI plugin with minimal user steps

Situation: I've already written an ActiveX control for my IE users which works perfectly. I build the .ocx, CAB it up, sign it, and put it on the site with an EMBED tag. Users load the page, the yellow bar shows up asking if they want to install…
Phenglei Kai
  • 413
  • 5
  • 14
15
votes
1 answer

Google Chrome Extensions and NPAPI

I need to write some Google Chrome extension. The problem is that Chrome JavaScript APIs don't give me enough power - I need to use native code. I thought about writing a NPAPI plug-in that will provide the extension some custom JS APIs. Is it…
15
votes
1 answer

How to stream RTSP live video in Firefox and Chrome now that the VLC plugin is not supported anymore?

Now that the NPAPI that the VLC plugin uses is being discontinued in Firefox and that Google Chrome has discontinued the NPAPI for long is there any solution to stream RTSP live video inside these browsers?
Tiago Dias
  • 585
  • 1
  • 6
  • 12
13
votes
2 answers

Digital signature from electronic smartcard in Chrome

For an electronic prescription system, that runs on the browser and that requieres personal signature by the professional, we are using a Java applet to sign the XML request, that then is sended to a WS, using a smartcard. But since version 42,…
lujop
  • 13,504
  • 9
  • 62
  • 95
13
votes
2 answers

Embedded Webkit - script callbacks how?

On windows, when the "Shell.Explorer" ActiveX control is embedded in an application it is possible to register an "external" handler - on object that implements IDispatch, such that scripts on the web page can call out to the hosting…
Chris Becke
  • 34,244
  • 12
  • 79
  • 148
12
votes
1 answer

With Silverlight disappearing from Chrome 45, what are my alternatives?

Since Chrome 45 will drop NPAPI support in september and with it Silverlight, what would be my alternatives beside using another browser ? I would really need to still support Chrome with my application and can't force the user to not update their…
Simon ML
  • 1,819
  • 2
  • 14
  • 32
10
votes
1 answer

Silverlight on Mac beyond 2016: Is Out Of Browser (OOB) an option?

The Get Silverlight page now shows Dec 31 2016 as the end of support for Silverlight in Safari. That seems to be unannounced news and it is unclear if it was set by Apple or Microsoft. The date matches the Firefox end of support for NPAPI. Q1: Could…
Ian W
  • 503
  • 4
  • 15
10
votes
1 answer

What is Safari's planned lifecycle for Silverlight (NPAPI)

Chrome has already dropped its NPAPI (silverlight) support Firefox has announced it will stop NPAPI support as of the end of 2016 (https://blog.mozilla.org/futurereleases/2015/10/08/npapi-plugins-in-firefox/) Edge did not support NPAPI from the…
Sjors Miltenburg
  • 2,540
  • 4
  • 33
  • 60
10
votes
5 answers

How to make a digital signature in a web application (JavaScript) using a smartcard?

We have written a document management system and would like to digitally sign documents using the web client. Our Java client application is already able to apply and check digital signature, but we would like to make signature even with our web…
eppesuig
  • 1,375
  • 2
  • 12
  • 28
9
votes
1 answer

Custom protocol handlers Linux, Centos 7 for chrome

I have developed an application which is invoked on a button click on my website. I was using NPAPI for this task. However recently google has deprecated NPAPI so I called my application using custom protocol handler like "myapp://" On windows my…
Fahad Rauf
  • 705
  • 2
  • 8
  • 17
8
votes
2 answers

How many versions of an NPAPI browser plugin do I have to make?

I know that if I write a C++ plugin, then I need to have Linux, Mac, Windows versions at least but what's the full list of combinations? NPAPI is supported by many browsers so does that mean the exact same compiled NPAPI plugin…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
1
2 3
48 49