webext-dynamic-content-scripts
webext-dynamic-content-scripts copied to clipboard
Add support for Manifest v3
trafficstars
- Fixes #18
Companion to:
- https://github.com/fregante/webext-additional-permissions/pull/13
Done:
- Extracted meta changes and tests to #39
To do:
- [x] Add mv3 tests
- [x] Figure out how the
scriptingAPI differs:- [ ] when the worker is unloaded
- [ ] when the browser is restarted
- [ ] how to deal with Chrome+mv2: https://github.com/fregante/content-scripts-register-polyfill/issues/48
Edit: Results in https://github.com/fregante/content-scripts-register-polyfill/issues/11
This has been working for months on MV2 in Refined GitHub and PixieBrix, so at least I know it's not a breaking version (but I'll release a major anyway)
It also seems to work in MV3 although I don't remember the extent of my tests, so I'll mark this as "preliminary support"