Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest v3 notes #1168

Open
lukaw3d opened this issue Nov 22, 2022 · 8 comments
Open

Manifest v3 notes #1168

lukaw3d opened this issue Nov 22, 2022 · 8 comments

Comments

@lukaw3d
Copy link
Member

lukaw3d commented Nov 22, 2022

Updated timeline:

  • Jan 2023: may turn off MV2 extensions in Chrome Beta
  • Jun 2023: MV2 extensions unlisted, may turn off MV2 extensions
  • Jan 2024: no more updates to MV2 extensions

TODO

  • can redux + saga even continue to work despite terminations
  • fork webext-redux New extension webext-redux issues #1052
  • keep wallet unlocked between terminations by storing encryption key in browser.storage.session
  • check how badly ledger breaks if user waits a minute before confirming a transaction (service worker terminates after 30 seconds?)
  • https://chromestatus.com/feature/5200265459269632 webusb doesn't even work in MV3 service worker yet
  • Opening extension as a new tab and storing state in it would solve some of these
@lukaw3d
Copy link
Member Author

lukaw3d commented Dec 12, 2022

@lukaw3d
Copy link
Member Author

lukaw3d commented Apr 17, 2023

@lukaw3d lukaw3d mentioned this issue Apr 18, 2023
9 tasks
@lukaw3d
Copy link
Member Author

lukaw3d commented Nov 20, 2023

https://developer.chrome.com/docs/extensions/migrating/mv2-sunset/

  • Disabling MV2 in Dev, Canary, and Beta as early as June 2024
  • June 2024 + 1-X months: Chrome MV2 deprecation

Brave says they'll continue supporting MV2

@lukaw3d
Copy link
Member Author

lukaw3d commented May 29, 2024

@pro-wh
Copy link
Contributor

pro-wh commented May 29, 2024

key point from bitwarden's article:

https://developer.chrome.com/docs/extensions/reference/api/storage#property-session

new "session" storage area is where to put "in memory" keys. in their case, a key that encrypts a locally-encrypted copy of the vault persisted in localStorage

@lukaw3d
Copy link
Member Author

lukaw3d commented Jun 3, 2024

If we don't plan to have dapp support (#1901) then we could:

  • move redux from background page into popup
  • store derived keyWithSalt in chrome.storage.session
  • remove background page / service worker
  • remove webext-redux

(So ext will behave more like webapp tabs. At some point we aspired the opposite: webapp tabs to use a shared worker to behave more like extension)

@pro-wh
Copy link
Contributor

pro-wh commented Jun 4, 2024

not aware of anyone using dapp support

https://www.npmjs.com/package/@oasisprotocol/client-ext-utils

apparently this package has 3 downloads weekly though

@buberdds
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants