Fix Firefox install: use background.scripts instead of service_worker
CI / Build & Test (push) Successful in 3m22s
CI / Build & Test (push) Successful in 3m22s
Firefox MV3 does not support background.service_worker. Split background into background-boot.js (globals) and background-main.js (startup logic); Chrome keeps using importScripts() in background.js, Firefox manifest uses background.scripts with the same file list so the extension loads in both.
This commit is contained in:
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user