vxchrome icon indicating copy to clipboard operation
vxchrome copied to clipboard

Completely reworked the application to make it work with the new Manifest V3

Open kappaflow opened this issue 2 years ago • 0 comments

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 avatar Dec 12 '22 03:12 kappaflow