Add JS 1.7/1.8 to GreaseMonkey

This wil only work on FF 3.5+


After some more research, I’ve discovered mozilla bug #445873 which is exactly what is needed here. The fix is in the Mozilla 1.9.1 (Firefox 3.5) branch.

The change to Greasemonkey is extremely simple. Just change in greasemonkey.js : Components.utils.evalInSandbox(c, sandbox); to Components.utils.evalInSandbox(c, sandbox, “1.8”); or whatever version is desired. I just tested it works in Firefox 3.5beta4 (but it won’t work in Firefox 3 or earlier)


Related posts


Leave a Reply

This blog is kept spam free by WP-SpamFree.