randomdude999 / smwc-preview

Adds previews to SMWC
1 stars 0 forks source link

Release extension for Mozilla Firefox #1

Open ExE-Boss opened 6 years ago

ExE-Boss commented 6 years ago

Since version 48.0, Mozilla Firefox has supported WebExtensions, which is a mostly Chrome-compatible extension format.

Looking at the code, the following resources should provide the necessary information to port this extension to Mozilla Firefox:

randomdude999 commented 6 years ago

The code itself should be completely compatible, I just have no idea how to package it as an extension. Besides, I think I'll remove support for the extension install completely once I get custom protocol handlers working on Mac.

ExE-Boss commented 6 years ago

To release the extension for Mozilla Firefox, you need to use web-ext (npm package) to build the extension file (you should also call web-ext lint to check the extension for validity).

After that, register on the Firefox Add-ons repository with a Firefox Account and publish the extension.

randomdude999 commented 6 years ago

If you want it that bad, just write it yourself - fork the repo, create a folder for the Firefox extension, update install.py, uninstall.py and gen_zip.py and send a pull request. (you can use smwc-preview@randomdude999.github.io as the id)