चर्चा » विकास

Firefox 32+ compatibility

§
पोस्ट केले: 2014-11-07

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.

§
पोस्ट केले: 2014-11-10

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?

§
पोस्ट केले: 2014-11-11

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

उत्तर पोस्ट करा

उत्तर पोस्ट करण्यासाठी साइन इन करा.