Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensions compatibility #38

Open
zakius opened this issue Aug 10, 2021 · 6 comments
Open

Extensions compatibility #38

zakius opened this issue Aug 10, 2021 · 6 comments

Comments

@zakius
Copy link

zakius commented Aug 10, 2021

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?

@LaOrhyUAcMji
Copy link

LaOrhyUAcMji commented Aug 10, 2021

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>

@zakius
Copy link
Author

zakius commented Aug 10, 2021

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

@Feodor2
Copy link
Owner

Feodor2 commented Aug 12, 2021

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

@zakius
Copy link
Author

zakius commented Aug 12, 2021

could you enable it in future builds?

@LaOrhyUAcMji
Copy link

@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

@zakius
Copy link
Author

zakius commented Aug 12, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants