fluid-project / uio-plus

UIO+: UI Options browser extension
https://chrome.google.com/webstore/detail/ui-options-plus-uio%20/okenndailhmikjjfcnmolpaefecbpaek
Other
2 stars 2 forks source link

Port UIO+ to firefox extension #48

Open jobara opened 8 months ago

jobara commented 8 months ago

Is your feature request related to a problem?

Allow UIO+ to work as a Firefox extension

Additional context or notes

See: https://extensionworkshop.com/documentation/develop/porting-a-google-chrome-extension/

duhrer commented 8 months ago

I ran the extension test against main and there were no reported problems. That's the end of the good news. I installed the developer edition of firefox and attempted to install UIO+, and immediately hit a blocking error.

The service workers that are a key part of Chrome manifest v3 are not supported in Firefox. (Warning, somewhat heated thread.)

Although there are approaches you can use that don't fall afoul of this, you'd basically have to rewrite the background service and anything that interacts with it.

Here's the bugzilla ticket that tracks adding service worker support. It's not well described or commented, but does appear to be active and links to variations on the theme.

I'd suggest leaving this open to gather information.

jobara commented 8 months ago

@duhrer thanks for looking into this and for the information about the issues.