I'm trying to get a very basic extension working in Pale Moon (variation of Firefox).
lib\main.js:
var data = require("sdk/self");
var pageMod = require("sdk/page-mod");
pageMod.PageMod({
include: "*.annoyingsite.com",
contentScriptFile: [data.url("script.js")]
});
lib\script.js:
document.getElementById("annoyingElement").setAttribute("style", "display: none;");
But I get the error:
[extension_name] could not be installed because it is not compatible with Pale Moon 24.7.2
I've tried reading the CFX docs and looking around on stackoverflow. The only hint I've found is perhaps it's something to do with minVersion
/maxVersion
in install.rdf
, but I haven't got anywhere. Please help!