firefox-plugin

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 describing what I need to do to my plugin to make it an XPI, or at least loadable by firefox, ca...

Firefox: Plugin vs extension?

I'm unclear on the difference between the functioning of a plugin vs an extension. For years, I've written a plain old NPAPI plugin. It lived in /Library/ Plug-ins on mac and somewhere similar on a PC. With Firefox 3.6, it stopped working. Looking around, I see this: http://blog.mozilla.com/security/2009/11/16/component-directory-lockd....

Mac Plugins no longer support GetWindowFromPort?

I'm mantaining an ancient Firefox plugin. It uses GetWindowFromPort to get a WindowPtr object out of the NP_Port object which is the platform specific window data in the WidowPtr object. Now it always returns NULL. NP_Port object is non-null as is the port field (CGraphPtr) of that object. However, without GetWindowFromPort, I no longer...

sample mac Firefox Plugins?

I'm trying to re-write an old image-viewing plugin for the mac. The old version uses QuickDraw (I said it was old) and resources (really really old) and so it doesn't work in Firefox 3.6 (which is why I'm re-writing it) I know some Objective C, and so I figure I'm going co re-write this in that using new-fangled Mac routines and nibs, e...

Quicktime Javascript interface within Iframe throws an errors.

I'm using Apple's provided AC_QuickTime.js to generate the object tag for embedding a quicktime object. I then assign that to a div's innerHTML property. This is done in the global scope as the page loads due to errors encountered on doing it in the window load event. Finally in the window load event I call play on the object (acquired v...

Firefox crash instantiating NPAPI plugin

I had the whole plugin working previously as a very simple implementation with lots of global and static variables, i've now converted it to an object based design so I can instantiate multiple instances safely etc. However, since I have done that, when creating an instance of the plugin it gets as far as the MyScriptableNPObject::NewOb...

Do I need a Firefox plugin or an extension?

I need to read every url that loads into the navigation bar of firefox (either by type in or by clicking a link), pass them through a filter and decide if allow the url to open or not. I have some experience on firefox extensions but not with plugins. Do I need to do it using extensions or plugins for this? I currently have a BHO for ...

A firefox plugin for driving UI of web apps

Does anyone know of a firefox plugin that can be used to drive the UI of a Web app? ...

Using positioning 'Panel' in new Jetpack API

I'm now using the new version of the Jetpack API of which allows you to create addons for Firefox using a JS framework. The 'panel' object is easy to use - but I'm struggling to find a way to position it. The documentation simply states (Jetpack Panel API) panel.show(anchor) DomElement But I'd like to position the panel in the bottom...