Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions for Firefox V3 workaround
In its current state, and presumably since the [Manifest V3 migration](#186), the extension doesn't work on Firefox. However, it can be made fully functional with a small change When loading the extension in Firefox, the following is reported ``` There was an error during the temporary add-on installation. Error details background.service_worker is currently disabled ``` Firefox doesn't currently support `background.service_worker` in Manifest V3: https://bugzilla.mozilla.org/show_bug.cgi?id=1573659. This property was added when migrating to V3: #186 If you remove this section from the manifest, it will work on V3. The only caveat is that the icon won't change when on a GOV.UK page I also tried changing `service_worker` to `scripts` and using an array per [this suggestion](mozilla/web-ext#2532 (comment)), which also makes the extension functional, but doesn't make the icon-changing script work. I suspect the `icon.js` code would need updating for cross-browser support. Other suggestions later in that thread might be worth exploring, but it might make more sense to hold off until Firefox adds proper support if the user base is low
- Loading branch information