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
0
votes
1 answer

Build a plugin as a form input element with firebreath

we can develop a plugin as a form element with qtbrowserplugin. http://doc.qt.digia.com/solutions/4/qtbrowserplugin/developingplugins.html#using-plugins-in-forms Can we do the same thing with firebreath? Are there any example available? Thanks.
0
votes
2 answers

how to reset the browser from a plugin

I made a plugin for the browser to firebreath (Windows). Now I do update the plugin - but dll plugin can not be upgraded until the plugin is loaded. How do I restart the browser to refresh the plug-in? or as a plug-in that can be downloaded from the…
0
votes
1 answer

NPN_Invoke getElementsByTagName Not Work

I'm try to get the dom elements by tagname using npapi whith chrome, but the length of the result is always zero. NPVariant tagName; STRINGZ_TO_NPVARIANT("input", tagName); NPVariant inputCollection; …
tosneytao
  • 1
  • 1
0
votes
1 answer

NPAPI Plugin[FireFox]: Invoke() / HasProperty() / HasMethod() not getting called

I am developing NPAPI Plugin for Firefox on windows. here is the my java script: document.addEventListener('load', documentLoad, true); function loadPlugin(doc) { var objWebMon = doc.getElementById("my_firefox"); if(!objWebMon) { …
Nik
  • 682
  • 1
  • 8
  • 27
0
votes
0 answers

mozilla npapi plugin resize issue

When Firefox is resized the embedded mfc application (which uses apapi plugin for embeddation) is unable to fit in the resize window (firefox). Till 17.0 version the issue was not there, post 17.0 this issue is reproducible. Whenever resized…
0
votes
1 answer

Add request header using firebreath

I am very new to C++ and FireBreath. I was asked to create a plugin that actually need to add value into request header also need to handle response too. Can any please help me on this. I just created a sample plugin project but I did not get any…
0
votes
2 answers

how to know what images used on current html page

I remember that I ran into a browser plugin, but not sure which browser that was, that can tell the user what images being used and their details. I believe firefox does this by page info feature, but is there a similar way using more accurate…
Digital site
  • 4,431
  • 12
  • 48
  • 72
0
votes
1 answer

Firebreath: binary string return value exception

I have a piece of code that gets random binary string from CAPICOM.Utilities. m_pUtilities.CreateInstance(__uuidof(Utilities)); _bstr_t bstrResult; m_pUtilities->raw_GetRandom(64, CAPICOM_ENCODE_BINARY, bstrResult.GetAddress()); I made a method…
Pisaren
  • 63
  • 5
0
votes
1 answer

NPP_StreamAsFile returns different path

I have a plug-in that stream some data and render it. But after updating to Firefox 20, the plug-in reported that it cannot find the file. After investigating the issue, I found that NPP_StreamAsFile return a different path between Firefox 19 &…
c0deMonkey
  • 13
  • 5
0
votes
1 answer

npapi wrap multi control

I want to wrap some activex dll to npapi. An ActiveX DLL can contain many controls, just like the one I'm going to wrap. Can a npapi dll contain many controls? I know the npapi control is working like: x-application/x-... It just seems that the…
0
votes
1 answer

How can i call C++ Code from JavaScripts with the NPAPI

I saw that one can call the c++ code from JavaScript like this: Calling C++ Code from DHTML But it is for IE,i use NPAPI to implement a plugin for firefox,and i want to call the method which is defined in c++ code via html file,how can i get it?
0
votes
1 answer

Loading applet in browser throws Classnotfound exception

When i tried to run applet in my firefox browser, it was prompted to install java plugin. I have downloaded and installed the plugin Java 7 Update 17. Later, i tried to load applet again, but im getting the error. I get this in all the browsers. My…
SDC
  • 161
  • 1
  • 11
0
votes
1 answer

NPRuntime plugin says Missing Plug-in in Safari(Windows)

I have developed an NPRuntime plugin, everything is ok, but it not initialized in Safari. I registered the plugin in MozillaPlugins registry key, it works fine for Chrome/FF/Opera, but Safari writes the the plugin is missing, although I found my…
Armen Sarkisian
  • 95
  • 3
  • 10
0
votes
2 answers

NPAPI mac plugin shows unresponsive message in Chrome when opening context menu

I'm working on an NPAPI based plugin, and have been observing an issue when opening the context menu in Chrome, displaying an error message saying that the page is unresponsive after leaving it open for 30 seconds. I've observed the same issue with…
Rodrigo Rivera
  • 157
  • 1
  • 9
0
votes
1 answer

Finding the crash location inside NPAPI plugin in Chrome

I've got an NPAPI plugin that works successfully on Chrome, Firefox, etc., except for one user, where it crashes in Chrome, but not in Firefox. I've installed Visual Studio on that user's machine, have downloaded the source files for my plugin, and…
Ken Smith
  • 20,305
  • 15
  • 100
  • 147