KNowledgeOnWebScale / solid-authentication-browser-extension

10 stars 1 forks source link

Chrome compatibility (Manifest V3) #5

Open axellorreyne opened 1 year ago

axellorreyne commented 1 year ago

At this point, the extension uses Manifest V2 and is only Firefox compatible.

To make it compatible with Chrome/Chromium, it should be adapted to Manifest V3.

This adaptation includes but is not limited to:

One could still run a Manifest V2 extensions in Chrome but the Chrome Web Store no longer accepts these. If one would want to make this V2 version compatible with chrome, "extraHeaders" should be added to the extraInfoSpec array at https://github.com/KNowledgeOnWebScale/solid-authentication-browser-extension/blob/f0f2c83a649f313b020b8f8ba69da7223d4b7c61/src/js/background.js#L49 when a chrome client is detected.