Discussions » Development

Firefox 32+ compatibility

§
Posted: 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

§
Posted: 10-11-2014

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

§
Posted: 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

§
Posted: 11-11-2014

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?

§
Posted: 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

Post reply

Sign in to post a reply.