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

Firefox rejecting xpi v0.8 install as "corrupt" #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

transce080
Copy link

@transce080 transce080 commented Jul 23, 2024

Contents

  • Updated xpi link for Firefox users in readme
  • Fixed 3 add-on warnings from Mozilla

Background

I went to install the readme-recommended v0.8 xpi recently only to find that Firefox now rejects the xpi install as "corrupt". At this point, not realizing that there was a newer version which I could try installing, it seemed like the 0.8 version needed to be validated still by Mozilla. When submitting the extension to the Mozilla Add-On Validator, I received a couple validation warnings (included below) which I fixed and submitted only to find that the extension had already been submitted. At this point I realized that you had probably updated it already and I returned to the releases section and installed the "Chrome" version. That installed without any issues and appears to be working great.

Summary

I think the fix is to recommend that Firefox users install the newest version, unless you had some reason why you were not doing that before. I updated the link in the readme and I included the validation fixes I had done since you'll probably need to make those changes eventually.

Validation Warnings

Use "browser_specific_settings" instead of "applications".
Warning: The "applications" property in the manifest is deprecated and will no longer be accepted in Manifest Version 3 and above.
[Location] manifest.json

Manifest key not supported by the specified minimum Firefox for Android version
Warning: "strict_min_version" requires Firefox for Android 58, which was released before version 79 introduced support for "browser_action.default_icon".
[Location] manifest.json

extension.getURL is deprecated
Warning: This API has been deprecated by Firefox.
[Location] contentscript.js line 62 column 11

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

Successfully merging this pull request may close these issues.

1 participant