Questions tagged [firebreath]

FireBreath is a C++ framework for creating web browser plugins (not extensions!) that work on Windows, Mac, and Linux and target all major browsers (including IE and Firefox).

FireBreath is a C++ framework for creating web browser plugins that will run as NPAPI plugins on supporting browsers (Firefox, Chrome, Safari, Opera) and as ActiveX Controls on browsers supporting ActiveX (Internet Explorer). FireBreath relies on CMake for cross-platform project generation and uses a subset of boost.

FireBreath was originally written by Richard Bateman (taxilian) and released under a dual license structure -- LGPL and new BSD.

Version 1.0 was released March 24, 2010 but the framework has grown quite a bit since then and benefitted from a lot of user contribution. Source code can be found on GitHub and the project website -- including user-editable wiki documentation and doxygen-generated class documentation -- can be found at http://www.firebreath.org. Bug reports can be submitted through the jira ticket system.

Other StackOverflow users who have contributed code to FireBreath are encouraged (by taxilian) to add their name to this wiki page!

412 questions
2
votes
1 answer

Unable to call firebreath dll functions

My firefox plugin is written using firebreath framework. It works absolutely fine upto version 28 of firefox. For higher versions I was unable to call the functions of firebreath dll from my javascript page only through firefox plugins. It works…
2
votes
2 answers

document.getElementById("id").valid not working in higher versions of firefox

I am working on a firefox plugin that uses firebreath framework. The plugin checks whether the firebreath dll is registered using the following code. if(document.getElementByID("dllID").valid) { alert("Dll registered"); } else { alert("Condition…
2
votes
0 answers

keydown event is not working for "Alt" key?

I am doing a project using firebreath framework. I am firing the keydown event for a plugin. For all other keyboard keys, the keydown event is working properly. But only for the "Alt" key it does not get fired. Is there any solution for this?
Shikha
  • 339
  • 2
  • 14
2
votes
1 answer

VideoPlayer plugin does not show up in the jQuery/bootstrap modal popup div in FireFox

I am working on a plugin which can record from webcam and playback on Windows. It works fine in Chrome and IE. When comes to FireFox, it works well if I put the plugin in normal page. However, if I put the plugin object in a modal popup div, it just…
damantou
  • 53
  • 6
2
votes
1 answer

Chrome's Deprecation of the NPAPI & FireBreath

According to this statement, NPAPI is going to be destroyed (By Chrome) Starting in January 2014, Chrome will block webpage-instantiated NPAPI plug-ins by default on the Stable channel. My company has a plugin written in FireBreath (using C++)…
Kirk Backus
  • 4,776
  • 4
  • 32
  • 52
2
votes
1 answer

how to fix macro definition too big error

While compiling my project (npapi plugin -firebreath) on Visual Studio 2010, I get following error: fatal error RC1011: compiler limit : 'FBSTRING_X11MIMEType': macro definition too big The macro is big but it compiles without any issue in gcc…
adnan kamili
  • 8,967
  • 7
  • 65
  • 125
2
votes
2 answers

How to capture fingerprint with Windows Biometric Framework in Firebreath

I've been trying to make FireBreath plugin that captures fingerprints with scanner. This code runs fine as just a console application (minus boost threading). bool GopripFPrintAPI::winCaptureFPrint(const FB::JSObjectPtr& callback) { …
Burvix
  • 21
  • 1
  • 4
2
votes
2 answers

Firebreath plugin can't be loaded in IE9/IE10 if running IE as administrator

My firebreath plugin works well in IE9/IE10 when opening IE normally, until one day I unconsciously open IE as administrator explicitly, the plugin just can't load. I also tried Firebreath sample plugin that can't load in this case either. I checked…
Wayne Wang
  • 1,287
  • 12
  • 21
2
votes
1 answer

LNK2019 error while using IBPP in Firebreath project

So here's my problem. I'm writing web browser plugin in Firebreath. Plugin has to connect to different databases (Firebird, MS SQL, My SQL etc.) depending on client request. So I'm creating class to manage connection to right DB. To connect to…
Michał
  • 21
  • 2
2
votes
2 answers

Firebreath plugin not loading in IE 10

EDIT: See end of post for more information. I am trying to to get plugins created via the Firebreath framework (1.7.0) to load. I am on Windows 8 in Desktop Mode using Internet Explorer 10. I've reproduced this with the built-in test FBTtestPlugin…
Tim
  • 2,708
  • 1
  • 18
  • 32
2
votes
1 answer

Using openGL inside a browser plugin using FireBreath

I went through the firebreath tutorial a few times, and things seem to work well for me. I managed to create a simple plugin on linux and to draw in it using gtk. What I want to accomplish however is to draw using openGL and that is not being…
Nitzan Tomer
  • 155,636
  • 47
  • 315
  • 299
2
votes
3 answers

Problems building firebreath with external boost

I'm trying to use boost 1.46.0 with firebreath. I have read the firebreath wiki on building with external boost but haven't been able to figure it out. I downloaded boost to ~/boost_1_46_0 and compiled it with bjam. I call prepmake.sh like…
kipple
  • 314
  • 2
  • 8
2
votes
1 answer

How to Scan For Wifi Access Points in C++ on Mac OS X

I need to scan for and gather information about local Wifi access points in Mac OS X Linux in C++. This perhaps uses Wlan or something akin to WlanScan. I have similar code working in Windows that cannot possibly be translated. This code is being…
David Manpearl
  • 12,362
  • 8
  • 55
  • 72
2
votes
3 answers

Firebreath Object in AngularJS

I have tried to include a FireBreath plugin object in an AngularJS view, however when I try to render the view I get this error: TypeError: Cannot read property 'nodeName' of undefined I am able to successfully include the object in the view with…
caseyCab
  • 31
  • 2
2
votes
1 answer

can firebreath pre-defined function configure_template support @ONLY?

Now I am using Firebreath to development my plugin, and I got an issue to use Firebreath pre-defined configure_template function. As far as I see now, configure_template will substitute the variables referenced as ${VAR} or @VAR@ or the @@foreach…
Wayne Wang
  • 1,287
  • 12
  • 21