codecentric / web-clip

A Chrome extension to extract structured data from any web page and store it to a Solid Pod.
10 stars 2 forks source link

Migrate to Manifest version 3 #25

Open angelo-v opened 2 years ago

angelo-v commented 2 years ago

Manifest version 2 is deprecated, and support will be removed in 2023. See https://developer.chrome.com/blog/mv2-transition/ for more details.

angelo-v commented 2 years ago

This is a much bigger issue than I anticipated, since background scripts are replaced by service workers and this also means support for localStorage is dropped. Localstorage is used by inrupt/oidc-client-js which is the fork of a deprecated library that is replaced by oidc-client-ts.

Brainstorming ideas how to proceed:

  1. Get rid of localstorage in all transitive dependencies
  2. Stay on v2 and loose chrome support in 2023 (what about other chromium browsers, will they keep v2 support?)
  3. Migrate to a Firefox plugin
  4. Find alternatives to service worker (e.g. popup.js, content script or even options page?)

Option 1 Get rid of localstorage in all transitive dependencies