Migrates the extension to manifest v3 (required on Chrome from June 2024).
Firefox doesn't support service_worker in manifest v3 yet, so scripts is used instead (which Chrome doesn't support on v3). The manifest is built conditionally (pnpm build).
Tested it on Chrome (latest) and Firefox (nightly).
Migrates the extension to manifest v3 (required on Chrome from June 2024).
Firefox doesn't support
service_worker
in manifest v3 yet, soscripts
is used instead (which Chrome doesn't support on v3). The manifest is built conditionally (pnpm build
).Tested it on Chrome (latest) and Firefox (nightly).