buggyj / savetiddlers

108 stars 14 forks source link

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

Open transce080 opened 1 month ago

transce080 commented 1 month ago

Contents

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