Questions tagged [browser-plugin]

Browser-plugins allow to display content in browsers that they don't support natively. The two major APIs are NPAPI (supported by all browsers except Internet Explorer) and ActiveX (for so called content extensions for Internet Explorer).

Browser-plugins allow to display content in browsers that they don't support natively. They are usually written in C++ or C. The three major APIs for browser-plugins are:

  • W3C Web-extension is a cross-browser system for developing browser add-ons, supported by Chrome, Opera, Firefox and Edge
  • NPAPI, supported by all browsers except Internet Explorer
  • ActiveX, for so called content extensions for Internet Explorer

Specific browsers may support additional APIs, like WebKit Plugins on OSX.

272 questions
1
vote
2 answers

Turning a browser plugin into an XPI

I have a very old (1992) browser plugin for a mac that works in several different browsers. However, since Firefox restricted its plugins to XPI files in Firefox 3.6, the plugin no longer works. I haven't been able to find a useful document…
Brian Postow
  • 11,709
  • 17
  • 81
  • 125
1
vote
0 answers

CEFsharp & Cefglue (chromium embedded) media player plugins not working in WPF controls. (NPAPI)

I'm using javascript to replace html5 video tag's with references to VLC or Windows Media Player browser plugins in order to be able to play h.264 video's in a chromium embedded WPF control. For example:
1
vote
1 answer

How to develop (NPAPI) COM plugin for Chrome, Firefox, Safari

In my legacy web application I need to read user system registry from JS and do some other stuff. I cannot not use ActiveX for security reasons so I have written a plugin. My Plugin consists of a DLL file which is a COM component. This COM component…
A.R
  • 409
  • 8
  • 21
1
vote
2 answers

Can't receive WM_MOUSEWHEEL event in npapi windowless plugin

I've written a windowless NPAPI plugin and I want to handle mouse events in NPP_HandleEvent(). I can get WM_PAINT, WM_LBUTTONDOWN, WM_LBUTTONUP, and WM_MOUSEMOVE event without any problem. However, it's wired that I can't receive any WM_MOUSEWHEEL…
winhow
  • 145
  • 1
  • 10
1
vote
1 answer

Wait for worker threads to complete before NPAPI plugin being destroyed

I've written a windowless NPAPI plugin, and I am going to perform some long lasting operation (e.g.send a http post request with image data) in a plugin function called by web browser JavaScript. To prevent web browser from hanging, I create one…
winhow
  • 145
  • 1
  • 10
1
vote
1 answer

How to send native texture ptr from Unity web player to a browser plug-in?

I have written an NPAPI browser plug-in (using Firebreath) that Unity uses to access a Kinect camera. I can retrieve skeleton data from Unity through JavaScript easily since it isn't too big, but the problem is in retrieving color image data. Is it…
1
vote
1 answer

how do I make a Flash browser app that could receive data from browser plugin or other Windows app?

in other words, suppose I want to send data, like text, programmatically from a Windows app (such as a browser plugin) to a Flash app running in the browser. Well, conceptually, an example of this might be a Flash instant messenger with a textbox…
EndangeringSpecies
  • 1,564
  • 1
  • 17
  • 39
1
vote
1 answer

Unload NPAPI plugin using script method call

I have NPAPI plugin for Mac Safari/fire Fox browser.The plugins has several method and I can call it from java script.I wanted to know whether I can close or unload the plugin through implementing method inside it.I need this function to unload the…
Vikram Ranabhatt
  • 7,268
  • 15
  • 70
  • 133
1
vote
0 answers

Can browser plugins draw to a ?

Some browsers, specifically on Windows, don’t let you overlay content on top of a plugin . Is it technically possible for plugins to draw to a instead? I suppose this could also differ between browsers and operating systems.
Sijmen Mulder
  • 5,767
  • 3
  • 22
  • 33
1
vote
0 answers

Why does the NPAPI plugin resize work fine on Chrome but fail on Firefox?

I'm developing an NPAPI plugin for displaying IP-camera video. In order to support 4:3, 5:4, and 16:9 ratio I need to resize the plugin according to users' selection. It works well on Chrome, but doesn't work on Firefox at all. Here is my code embed…
xwpcom
  • 11
  • 1
1
vote
0 answers

Browser extension/plugin to monitor website source code and alert changes

Is it possible (and does eventually yet exist) a browser extension or plugin that logs (or hashes) all html and javascript code that is loaded from a website/url. The use case is that I want to check if all security promises of the website vendor…
heinob
  • 19,127
  • 5
  • 41
  • 61
1
vote
3 answers

NPAPI mozilla plugin loading issue

I have successfully compiled and created npapi dll in MS based on mozilla npruntime project. Reference from: https://developer.mozilla.org/en-US/docs/Compiling_The_npruntime_Sample_Plugin_in_Visual_Studio. Starting mozilla and open about:plugins…
manav
  • 53
  • 5
1
vote
1 answer

How can I hide the control bar of the "Windows Media Player" for Chrome and FF?

I want to play a WMV video in an HTML file. The video should have no control panel (play/pause, volume, ...). With IE it works perfect. But with FF or Chrome the control panel is still displayed.
Steffen
  • 2,500
  • 4
  • 31
  • 47
1
vote
4 answers

Trick a browser into loading