web-monetization-projects icon indicating copy to clipboard operation
web-monetization-projects copied to clipboard

Manifest V3

Open sublimator opened this issue 4 years ago • 4 comments

See: https://news.ycombinator.com/item?id=24301638

What's not talked about is how moving the "background" process from a long lived hidden web page to a short lived, event based service worker, breaks the actually useful cases of extensions

sublimator avatar Aug 28 '20 08:08 sublimator

https://blog.chromium.org/2020/12/manifest-v3-now-available-on-m88-beta.html

sublimator avatar Dec 10 '20 04:12 sublimator

There now seems to be new docs: https://developer.chrome.com/docs/extensions/mv3/intro/

sublimator avatar Feb 03 '21 06:02 sublimator

Related to #1995

sublimator avatar Jun 21 '21 08:06 sublimator

Since September last year, MV2 are now scheduled for obsolescence by January 2022. Need to go through and test out the functionality we are using and see if it's still supported in MV3.

  • [ ] Need to determine if/when MV3 (Google's version, with only service workers) will be supported by
    • [ ] Mozilla
      • Sent an email with subject "Mozilla MV3 support"
      • Rob Wu (@Rob--W) says Mozilla are looking to support "limited" event pages as per https://github.com/w3c/webextensions/issues/134
    • [ ] Apple (Safari)
      • Currently not supported as of a year ago, https://developer.apple.com/forums/thread/650463
        • Same person from Apple have previously interacted with regarding popup bugs and missing apis
        • Tried to LI connect with Apple person (@xeenon)
        • "[timothy] Google is not the only browser shipping MV3. Safari 15.4 will ship MV3 soon. See [March 17th minutes] (https://github.com/w3c/webextensions/blob/main/_minutes/2022-03-17-wecg.md)
        • Apple have actually implemented support for "limited" event pages as per https://github.com/w3c/webextensions/issues/134#issuecomment-1017718215
    • [x] Samsung Internet ( chromium based so probably, but they have a custom extensions codebase )
      • Sent an email with subject Six Extension "Manifest Version 3" Plans
      • Reply: "We will be supported it from Samsung Internet 17.0 market upgrade(End of April)."
      • Sent them the link to limited event pages: https://github.com/w3c/webextensions/issues/134
  • [x] Check if ScriptInjection class still works (injecting <script>{code}</script>) (does not)
    • Dan Isaac is helping (https://github.com/Danisco212/InjectionMV3)
    • https://stackoverflow.com/questions/68583169/content-security-policy-in-manifest-version-3-for-chrome-extension
    • https://bugs.chromium.org/p/chromium/issues/detail?id=1137396
    • Doesn't look like sha-$x or unsafe-inline are any longer valid options for script-src CSP directives
    • https://developer.chrome.com/docs/extensions/reference/scripting/#type-ExecutionWorld

sublimator avatar Feb 23 '22 05:02 sublimator