Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading this extension as-is throws a warning about v2's deprecation. This is in preparation for: https://developer.chrome.com/docs/extensions/mv3/mv2-sunset/ Following: https://developer.chrome.com/docs/extensions/mv3/mv3-migration/#man-sw The extension's version number should probably be incremented as well. (Either in this commit or one directly following it.) I'm running this on Vivalid and it seems to work (when on top of #11), but otherwise this is not extensively tested. *** Extra note: It doesn't seem required, but it might be better to move `background.js`'s content to another file. Then change `bacground.js` to something that looks like the (now deleted) `background.html` page, except using `importScripts` instead of `<script>` tags. As-is, `background.ts` seems to import `./tabs_helpers.js` anyway/explicitly so it doesn't seem to make a difference when iusing `"type": "module"`. Co-authored-by: Benjamin Orsini <github.o7tgl@simplelogin.com>
- Loading branch information