Closed yorkxin closed 2 years ago
Work in progress on https://github.com/yorkxin/copy-as-markdown/tree/manifest-v3 branch
Firefox Manifest V2 requires menus.create
to be called in the top scope of background.js
, but MV3 requires it to be called inside a runtime.onInstalled()
callback (aligning with Chrome MV3) -- background.js
needs to support both use cases until Firefox MV3 is promoted.
Chrome: "Success" badge does not disappear. setTimeout
not working?
Solved by #106
Summary
Google Chrome introduced Manifest V3.
Current V2 will become unsupported in Jan 2023
https://developer.chrome.com/docs/extensions/mv3/intro/