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

browser plugin to test a site's look when migrating

I'm thinking I need a browser plugin that does the following, and if it doesn't exist, it should. I may as well say FF for now, but it could be any browser. The problem: when moving a website from one server to another, you need migration testing. …
tkotitan
  • 3,003
  • 2
  • 33
  • 37
2
votes
1 answer

What is the "next generation plugin" for Java

What is the "next generation plugin" for Java and how is it different from the classic plugin? Strangely, there is only one generic plugin on Mac OS X, so is this distinction only on Windows, or does linux also have two plugins? I also noticed that…
Hawken
  • 2,059
  • 19
  • 34
1
vote
2 answers

NPAPI: modify plugin object's CSS properties

I'm programming an NPAPI plugin for an embedded browser based on WebKit. One of the objects handled by this plugin is a video frame that I want to be resizeable through its javascript properties, width and height. So, in my C++ implementation of the…
Gui13
  • 12,993
  • 17
  • 57
  • 104
1
vote
1 answer

Firebreath JavaScript error: unsupported: no toString() function in type function

I am using the firebreath framework to write a browser plugin. When I use the plugin with javascript I get an weird error: unsupported: no toString() function in type function I get this error wheny I try to call several times a method on my…
Tobi Weißhaar
  • 1,617
  • 6
  • 26
  • 35
1
vote
1 answer

Efficient scrolling of piped output in a browser window

I have a custom browser plugin (built with FireBreath) that will invoke a local process on a users machine and pipe stdout back to the browser, to do this i'm running the process through a popen() call and as I read data from the pipe I fire a JSAPI…
Fraser Graham
  • 4,650
  • 4
  • 22
  • 42
1
vote
1 answer

Handling mime type with app, in Android browser

Is there a way to register a mimetype-specific plugin in the Android browser? for example, some programs add "application/specificformat" plugin handler, which is seen with navigator.plugins. I've seen the example code, and I tried doing something…
NoBugs
  • 9,310
  • 13
  • 80
  • 146
1
vote
0 answers

Are plugins for Android's native Web Browser version dependent?

I've been trying the code Google provides with Android source code for a Browser Plugin, more specifically, following this…
1
vote
0 answers

How to use a blocking request listener with manifest v3?

I am having trouble migrating my manifest v2 to v3. Basically, my extension is downloading some files when a specific url pattern is matched. I've migrated my old manifest to this: "permissions": [ "webRequest", "downloads", …
1
vote
0 answers

Is it possible to install javascript plugin using an .msa package installation on windows

I have developed a simple javascript plugin which is not deployed to any web stores. Is it possible to implement the same plugin to an desktop application installer to install the plugins to browser along with that desktop application installation…
1
vote
1 answer

How do I get an NSView in a cocoa event model NPAPI plugin

I've followed the NetscapeCocoaPlugin example from the nightly Webkit build, and I'm able to build a NPAPI style plugin that uses the Cocoa Event Model. My question now, is how I can get the NSView inside NPP_SetWindow. A poster in this thread,…
CambridgeMike
  • 4,562
  • 1
  • 28
  • 37
1
vote
2 answers

NPAPI Plugin not loaded on chrome

I have a npapi plugin composed of a dll and manifest.json file. This npapi dll is detected as plugin on chrome ie it is listed on about:plugins page. However, when I invoke this plugin in sample html page using tag, it says 'Plugin failed to load'.…
Rashmi K
  • 11
  • 2
  • 3
1
vote
2 answers

Browser plugin to recognize a custom image-format

I have images that are in a custom file-format (basically containing RAW data) and and I want to have them viewable in a browser (without converting them to standard formats such as jpg/png). Is it possible to write a browser plugin that would read…
1
vote
1 answer

How to obtain iframe html document in NPAPI

I am trying to obtain the document inside a frame. The following does not fail: NPN_GetProperty(aInstance, windowObject, NPN_GetStringIdentifier("frames"), &frames)) but the following fails, returning a null element: NPN_Invoke(aInstance,…
codingPear
  • 274
  • 1
  • 9
1
vote
1 answer

Mozilla Firefox Native Messaging Error: No such native application

I am using Windows 10 64Bits, Mozilla Firefox 76.0.1 and building a native messaging plugin. Works perfect on Chrome, but not in Firefox. Now after I hit this bugreport describing my issues with 64bits Windows and Firefox…
Digital Human
  • 1,599
  • 1
  • 16
  • 26
1
vote
1 answer

Browser plugin affiliate tracking

If I was going to host an e-commerce website where I aggregate the products from multiple other websites, I understand one potential approach would be to append some kind of 'affiliate tracking code' query-string parameter to the hyperlink that…
Ryan.Bartsch
  • 3,698
  • 1
  • 26
  • 52