Discussions » Développement

Firefox 32+ compatibility

§
Posté le: 07/11/2014

Firefox 32+ compatibility

Hi,

I've created a GreaseMonkey script which runs fine. But when I convert it to an xpi file on firefox version 32 and higher it gives the following error, “XrayWrapper denied access to property onload (reason: value is callable)”.

I've tried running the same xpi file in older versions and it works fine.

Any help would be great,
Thanks

It sounds as though your compiler or other tool for making an XPI needs to be updated.

§
Posté le: 10/11/2014

I could only find one that worked but I don't think it's been updated in years. Are there any other tools out there?
https://arantius.com/misc/greasemonkey/script-compiler.php

I'm not aware of any modern compilers (i.e., ones that work with the new Add-on SDK). Any reason you prefer an XPI to a userscript?

§
Posté le: 11/11/2014

To install a userscript you need to have greasemonkey installed from what I have tried. If there is a way around this then I could work with it. It would be simpler just to install the XPI file

Poster une réponse

Connectez-vous pour poster une réponse.