pontoon-addon icon indicating copy to clipboard operation
pontoon-addon copied to clipboard

Migrate to Manifest v3

Open MikkCZ opened this issue 4 years ago • 6 comments

The timeline when v3 is supported in all browsers (mainly Firefox ESR) and when they plan to deprecate the current version is still not clear.

Start by updating the background script to work as non persistent, which should also improve performance.

MikkCZ avatar Oct 25 '21 05:10 MikkCZ

Chrome Web Store will not support submissions of new extensions with v2 after January 17, 2022. There is no date for complete deprecation of v2, but it's definitely coming.

MikkCZ avatar Dec 02 '21 06:12 MikkCZ

  • https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/
  • https://developer.chrome.com/docs/extensions/mv3/intro/
  • https://developer.chrome.com/docs/extensions/mv2/background_migration/

MikkCZ avatar Apr 25 '22 05:04 MikkCZ

I opened a blocker on Pontoon side, because manifest v3 will remove webRequest API, that is needed to support containers (aka contextual identities) in Firefox.

However today I found (and sorry for my negligence), that supposedly Firefox will keep the webRequest API for manifest v3. If that's true, there would be no regression, because in Chrome the containers are not available anyway.

MikkCZ avatar May 03 '22 15:05 MikkCZ

How to work with workers in Webpack - https://github.com/webpack/webpack/blob/main/examples/worker/example.js.

MikkCZ avatar Jan 06 '23 08:01 MikkCZ

  • https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/
  • https://developer.chrome.com/docs/extensions/develop/migrate
  • https://blog.mozilla.org/addons/2024/03/13/manifest-v3-manifest-v2-march-2024-update/
  • https://github.com/GoogleChromeLabs/extension-manifest-converter

MikkCZ avatar Mar 24 '24 15:03 MikkCZ

https://developer.chrome.com/docs/extensions/develop/migrate/what-is-mv3

MikkCZ avatar Oct 06 '24 17:10 MikkCZ