maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   MicroB and Firefox add-ons (https://talk.maemo.org/showthread.php?t=43363)

zwer 2010-02-04 19:56

Re: MicroB and Firefox add-ons
 
MicroB actually doesn't have the same AppID as Firefox (ec8030f7-c20a-464f-9b0e-13a3a9e97384) - it has the same AppID as Seamonkey (92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a). So, if the desired extension is not compatible with Seamonkey you won't be able to install it in MicroB.

You can try to repack .xpi (it's a .zip file format) to include:

Code:

<em:targetApplication>
        <Description>
                <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
                <em:minVersion>2.0b1pre</em:minVersion>
                <em:maxVersion>2.1a1pre</em:maxVersion>
        </Description>
</em:targetApplication>

In its install.rdf file, but it probably won't work anyways - the whole XUL approach of building extensions doesn't work - you need to use at least some XSLT initializer to make it work.

Unfortunately, I haven't had much luck finding out exact hooks to the browser itself even from XSLT - extension installs, and all its classes are listed in compreg.dat, but it appears that it cannot access the DOM, and debugging is especially hard as you actually don't get console for at least basic dump().


All times are GMT. The time now is 09:51.

vBulletin® Version 3.8.8