internetarchive / wayback-machine-webextension

A web browser extension for Chrome, Firefox, Edge, and Safari 14.
GNU Affero General Public License v3.0
661 stars 207 forks source link

Upgrade the extension to Chrome Manifest v3 #798

Open anishsarangi opened 3 years ago

anishsarangi commented 3 years ago

We are now using Manifest version 2. We need to upgrade it to use Manifest version 3 before the starting of 2023.

According to this article https://developer.chrome.com/docs/extensions/mv3/mv3-migration-checklist/, in manifest version 3, we can’t save/store anything in the background as it works like service worker and isn’t persistence. We need to use chromeStorage API everywhere for this. Some API names are also changed in version 3.

It looks like we need to do much modification in background.js only.

It will take some time for firefox to be compatible with manifest v3. We need to do modifications in a separate branch for chrome only. https://blog.mozilla.org/addons/2019/09/03/mozillas-manifest-v3-faq/

cgorringe commented 2 years ago

Manifest V2 support timeline says the Chrome web store will stop accepting new V2 extensions on Jan 17, 2022. Since we already have this extension publicly listed, we should have until Jan 2023.

cgorringe commented 2 years ago

Manifest v3 in Firefox: Recap & Next Steps https://blog.mozilla.org/addons/2022/05/18/manifest-v3-in-firefox-recap-next-steps/

cgorringe commented 1 year ago

Firefox Manifest v3 related info: https://blog.mozilla.org/addons/2022/11/17/manifest-v3-signing-available-november-21-on-firefox-nightly/ https://extensionworkshop.com/documentation/develop/manifest-v3-migration-guide/ https://extensionworkshop.com/documentation/publish/distribute-manifest-versions/