Skip to content

Conversation

@kappaflow
Copy link

@kappaflow kappaflow commented Dec 12, 2022

Chrome is ending support for Manifest V2:
https://developer.chrome.com/docs/extensions/mv3/mv2-sunset/

So I migrated the extension to make it work under more strict Manifest V3.

  • Manifest V3 doesn't support eval(), so Vue has been changed to a pre-build configuration
  • ViteJS has been added as a builder for Vue
  • Manifest V3 doesn't support Function(), so features "For advanced users" has been removed
  • Removed mobx and lodash, because these are unnecessary after moving webkitSpeechRecognition() to Popup.vue (it can't run in a service worker)
  • Communication between different parts of the application has been implemented using chrome.storage.*
  • All dependencies has been updated to the latest version
  • Fixed minor bugs

To build and pack the extension run: npm run initproject then ./scripts/build-package.sh

@kappaflow kappaflow changed the title Completely reworked the application to make it work with the the new Manifest V3 Completely reworked the application to make it work with the new Manifest V3 Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant