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
5
votes
2 answers

Side by Side dependency between C++ and C#

I'm making a browser plugin using FireBreath Framework. Most of logic is written on C# and to call it from browser I've made a C++ wrapper. Browsers call C++ Native code which calls "proxy" Managed C++ code which calls an actual logic in C#…
5
votes
2 answers

Can I install plugin without restarting the browser and machine

I have developed one NP API plugin and was playing with it. I observed below two things When I install the plugin first time I need to restart my mac os to load the plugin. Whenever I update the plugin I need to restart browser. I want to install…
batwadi
  • 1,836
  • 7
  • 29
  • 42
5
votes
2 answers

How do I programatically trigger shortcut keys in Chrome with an Extension? (NPAPI or JavaScript Extensions)

Trying to figure out how to automatically trigger the web developer tools by executing the "Ctrl + Shift + i" via my own extension. There is one stackoverflow question, but none of the answers worked.
5
votes
0 answers

Using VSTO, ClickOnce and Chrome - is it still possible?

Some time ago Google finally pulled NPAPI support from Chrome, nuking the ClickOnce support in Chrome altogether. Still Chrome is a popular browser, and ClickOnce is very convenient for users. Therefore I am trying to come up with a deployment user…
Borv
  • 623
  • 5
  • 14
5
votes
1 answer

Replacement for ActiveX Controls in Cross Browsers

I am having an application written developed in asp classic. and with rich use of ActiveX controls. Right away it is only IE supported. But we are moving towards cross browsing platform. As we all know Microsoft Edge is coming up and it is ending up…
Haider
  • 133
  • 3
  • 10
5
votes
1 answer

Google Chrome Java Workaround

Google has recently announced their intentions to remove client-side Java support from Chrome in the near future. I, a Java developer by nature, have built nearly all of my web-based applications on top of some form of Java. As such, I am looking…
SnazzyJava
  • 87
  • 12
5
votes
3 answers

launch my installed application from chrome browser

My requirement is to launch my installed application from chrome browser if it is installed on client machine, If not installed then I wanted to start download. What is best recommended solution for chrome? So fare i tried following used NPAPI, but…
5
votes
0 answers

What are some NPAPI video plugin alternatives for Chrome?

Was: "PPAPI (Pepper) video plugin -NaCl module failed - how to resolve?" Google's Say Goodbye to Our Old Friend NPAPI blog post indicates that NPAPI plugin support will cease by the end of 2014 (in favor of PPAPI). We have considered the option of…
ElHaix
  • 12,846
  • 27
  • 115
  • 203
5
votes
2 answers

A NPAPI plugin doesn't work in Google Chrome

I wrote a small NPAPI plugin using an old Mozilla NPRuntime example as a base. My problem is that it works fine on Firefox and Safari (on Windows), but it fails to work with Google Chrome. I can see the plugin in about:plugins just fine and I see…
eburger
  • 470
  • 4
  • 10
5
votes
3 answers

Google chrome extension with NPAPI moving to NaCl

I have recently developed a google chrome extension that uses an NPAPI plugin made using the FireBreath framework. I just now found out that google will shortly discontinue these types of plugins and eventually ban all existing extensions that use…
4
votes
2 answers

HTML on top of NPAPI plugin

After I finished writing my browser plugin using FireBreath and OpenGL, and embedded the plugin using an object tag, I tried to overlay various HTML elements on top of the plugin. Unfortunately, the tag and plugin graphics always stayed on top of…
user1079558
  • 41
  • 1
  • 2
4
votes
3 answers

How can I get XCode / GDB to break in a Safari 5.1 NPAPI plugin?

I have an NPAPI plug in running on OS X 10.6.8 that I'd like to debug. When I load it using FireFox 3.6.19, I can set the active executable to FF, start FF, attach using XCode, and the breakpoint will fire at the expected time. When using Safari…
4
votes
2 answers

How do I use NPAPI to receive calls from javascript on the page?

I am working on a plugin that needs to receive calls from javascript. Specifically, it needs to be able to give a callback function to javascript, and the javascript needs to be able to call that function later with at least a string argument. The…
itfische
  • 696
  • 1
  • 5
  • 14
4
votes
1 answer

Is a NPAPI plugin what I am looking for?

I need to develop a mini ClickOnce plugin for Firefox, Chrome, Operah and Safari (preferably, one that works on all of the above). My plugin needs to be able to run an application in a one-click fashion. In other words, by going to a specific URL,…
Aviv
  • 41
  • 1
  • 2
4
votes
1 answer

NPAPI for Python - Chrome Extension

I am trying to develop a chrome extension in which i have coded all my logic in 'python' . Now on browser action i want to pass parameters and execute that .py file and return results to popup which will open on browser action. To call a .py file…
user288028
  • 81
  • 2
  • 3
1 2
3
48 49