firebreath

How do I add Objective C code to a FireBreath Project?

戏子无情 提交于 2019-11-28 08:44:30
问题 I am writing a browser plugin for Mac OS that will place a status bar icon in the status bar, which users can use to interface with the browser plugin. I've successfully built a FireBreath 1.6 project in XCode 4.4.1, and can install it in the browser. However, FireBreath uses C++, whereas a large majority of the existing libraries for Mac OS are written in Objective C. In the /Mac/projectDef.make file, I added the Cocoa Framework and Foundation Framework, as suggested here and in other

FireBreath plugin automatic installation

只谈情不闲聊 提交于 2019-11-28 06:01:46
问题 I wrote a plugin using FireBreath, VS2010, for Windows, all browsers. In FireBreath documentation I saw that I have to install WiX. I installed it. I created the project using the automatic fbgen tool so it autmatically created a WiX for me. I couldn't understand from the doc is waht to do now: Do I have to edit the generated WiX source file? If yes, what to change there? What to write in the object tag that will trigger the installation of the msi created? Or at least say to the user that

Using a plugin generated with Firebreath in a Firefox Extension?

狂风中的少年 提交于 2019-11-28 05:56:44
问题 Is it possible to use a .dll made with Firebreath in a Firefox extension? Currently, I am trying to port an extension I made for Google Chrome that uses javascript to get the HTML of the document, and then calls a function from the .dll and passes the HTML of the document as a parameter. The .dll then saves the file and launches a program. Is there a simple way to port this functionality over to Firefox? Or will I have to rewrite the code using XPCOM? 回答1: XPCOM is too complicated for simple

NPAPI for Python - Chrome Extension

牧云@^-^@ 提交于 2019-11-28 01:25:34
问题 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 from JavaScript i know i will need to code a NPAPI plugin. But am confused between which approach i should take. I have come across few options and am trying to choose the easiest way to do it .. Pyjamas Python Javascript Compiler : is a Python-to

Deployment of NPAPI plugin with minimal user steps

删除回忆录丶 提交于 2019-11-27 11:43:09
问题 Situation: I've already written an ActiveX control for my IE users which works perfectly. I build the .ocx, CAB it up, sign it, and put it on the site with an EMBED tag. Users load the page, the yellow bar shows up asking if they want to install it: all they have to do is click it, and we're off. Now I need to build support for FF, Chrome, and Safari (on Mac). From my research, NPAPI is the way to do this, and Firebreath is supposed to make it easier. But from what I have read, deployment is