Upgrade your Chrome Extension to MV3
Manifest Version 3 has launched, with version 2 being slowly phased out
Hello!
As I mentioned in the last post MV3 is coming & with the latest update to Chrome 88 MV3 is now live! Again you don’t have to update your extension right away (still have around a year) but if you want to support the latest features and get on the good side of the Chrome Web Store it is worth looking into.
The main changes are around permissions, and the change from background pages to service workers. My two most recent videos cover these two topics first.
Permissions
In MV3 you cannot guarantee that your users will have the permissions you need so it is important to consider adding onboarding, the video below gives a quick overview on how you can add onboarding when users first install your extension (you can switch this to also work when users update your extension as well)
Service Workers / Firebase
The other big change, is the move from background pages to service workers. This is to help improve the performance and speed of Chrome as service workers only run when a request is sent & otherwise just silently listen for events. Which should help improve the experience for everyone.
This video has an overview of how you can migrate an extension that uses Firebase form MV2 to MV3.
As always if you have any questions just leave a comment or reply to this email as I’m always happy to help!
Best,
Rusty
