Centaury icon indicating copy to clipboard operation
Centaury copied to clipboard

Extensions compatibility

Open zakius opened this issue 4 years ago • 6 comments

Many newer extensions with min version set pretty high will work just fine but won't install easily. I've tried using extensions.checkCompatibility.{version.number} available in Firefox for a long time but it either doesn't work or I can't figure out what number to put there. Is there a way to disable these checks?

zakius avatar Aug 10 '21 08:08 zakius

I edit the install.rdf file of extensions to force compatibility. For example, to force Pale Moon compatibility:

    <!-- pale moon -->
    <em:targetApplication>
      <Description>
        <em:id>{8de7fcbb-c55c-4fbe-bfc5-fc555c87dbc4}</em:id>
        <em:minVersion>0.*</em:minVersion>
        <em:maxVersion>9999.*</em:maxVersion>
      </Description>
    </em:targetApplication>

For firefox:

		<!-- Firefox -->
		<em:targetApplication>
			<Description>
				<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
				<em:minVersion>0.*</em:minVersion>
				<em:maxVersion>9999.*</em:maxVersion>
			</Description>
		</em:targetApplication>

for Basilisk:

  <!-- Basilisk -->
  <em:targetApplication>
    <Description>
      <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
      <em:minVersion>0.*</em:minVersion>
      <em:maxVersion>9999.*</em:maxVersion>
    </Description>
  </em:targetApplication>

for SeaMonkey:

<!-- Seamonkey -->
        <em:targetApplication>
            <Description>
                <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
                <em:minVersion>0.*</em:minVersion>
                <em:maxVersion>9999.*</em:maxVersion>
            </Description>
        </em:targetApplication>

LaOrhyUAcMji avatar Aug 10 '21 09:08 LaOrhyUAcMji

I am aware of that, just having to download the file, extract, modify and re-package without signature is inconvenient

zakius avatar Aug 10 '21 10:08 zakius

No way to disable check extensions.checkCompatibility available in Firefox Nightly only we do not build nightly so this setting dummy and do nothing.

Feodor2 avatar Aug 12 '21 03:08 Feodor2

could you enable it in future builds?

zakius avatar Aug 12 '21 05:08 zakius

@zakius - - as an aside, I'm personally considering building a tool that'll be able to edit chrome.manifest and install.rdf files and force compatibility for XPI files in bulk, I was just wondering if you have some info: is the GUID specification only in install.rdf and chrome.manifest, or are there any other files that have it? I'll write my tool accordingly

LaOrhyUAcMji avatar Aug 12 '21 06:08 LaOrhyUAcMji

for WebExtensions there's manifest.json, and while the support here isn't great some of them will work just fine or mostly fine

zakius avatar Aug 12 '21 08:08 zakius