Feature Request: Firefox Port
Firefox uses the same WebExtension standard as Google Chrome with minor differences, so porting and publishing - while a considerable task - wouldn't mean rewriting the extension completely in order to support a new platform.
Adding Firefox support would also help with using Discogs on Android phones, as Firefox supports add-ons on the mobile version.
I currently have to use an installation of Vivaldi just for this add-on so Firefox support would be fantastic! :)
@eberhardweber Yes, Firefox uses the same standard as Chrome but there are enough differences to make the task of creating a separate version laborious with little to no ROI for myself.
I tried for several months back in 2016 to get Discogs Enhancer into the Firefox Add-on store. The code reviewers were largely unhelpful, refused to answer my questions, and repeatedly sent me deprecated documentation, while simultaneously requesting I update their outdated documents myself. The process was quite frustrating and left me with little interest in developing extensions on the Firefox platform.
Even when ignoring the reasons above, there are other issues preventing Discogs Enhancer from being accepted into the Add-On store. Mozilla will not allow extensions to use the innerHTML method. That means large portions of the codebase (this for example) would need to be rewritten using document.createElement to generate the necessary markup. This approach makes maintaining, augmenting, and debugging the extension significantly more tedious.
Another big factor is time. I've been working on this extension for close to 4 years now and it's grown quite a bit. It takes a large amount of time and energy to put out new versions. Anytime there is a new feature I need to:
- write the logic
- test it
- write unit and functional tests for it
- update the readme
- update the change log
- create the images and documentation for the learn page
- update the toggle and submenu logic in the popup
- update the website
- update the list of features on the Chrome store page
- make a new release here on Github
- make an announcement post in the group on Discogs.com
Adding Firefox into the mix means even more time doing the aforementioned list of tasks with each new release.
Money also plays a role. Discogs Enhancer uses its own currency conversion API that costs me $72/year to host. The extension is free but I ask for donations. Occasionally generous people will donate a few dollars which helps to offset the cost of hosting. Unfortunately, I only receive around $35 dollars a year in donations. Essentially about enough to cover half of the cost of hosting the API.
I love Discogs and I enjoy working on this extension but the amount of time it takes to maintain it is substantial and I don't receive enough in donations to make the additional time and energy required to support a Firefox version worth it.
Appreciate the definitive answer. Good luck with maintaining the add-on! Disheartened to hear you received poor support. Unfortunately, the Firefox add-ons WebExtension conversion seems to have been coupled with a fair bit of unfortunate streamlining. It often feels to me like add-on developers are seen by the corporate as a nuisance, or a pest, instead of a positive, transformative force.