Question

Is there a way to override the use of maxVersion in firefox extensions so if a new firefox update comes out the extension will still work? I think this can be done by setting a new bool in about:config but I am trying to do it from the extension itself.

Was it helpful?

Solution

I don't know a way to do it only for a single extension, and it really doesn't make sense. Inevitably, it will eventually stop working. You can set it to an arbitrarily high value, though:

<em:maxVersion>100.0</em:maxVersion>

This means you can't distribute it through AMO (for good reason), but you're free to do so independently.

OTHER TIPS

How do you mean by overriding maxVersion? maxVersion is there for protecting you and your users from possible BC breaks in Firefox and Gecko. You can set it as high as you want though.

But if you want to prevent Firefox from checking compatibility, creating boolean key extensions.checkCompatibility and setting it to false is the way to go, though it's advised only when developing extensions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top