Files
holesail-browser/extension/background.js
T
Raven Scott 34303e7a80
CI / Build & Test (push) Successful in 3m22s
Fix Firefox install: use background.scripts instead of service_worker
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.
2026-03-03 02:15:03 -05:00

15 lines
397 B
JavaScript

/**
* Background service worker entry point (Chrome).
* Loads boot globals, then modules, then main logic via importScripts().
*/
importScripts(
'background/background-boot.js',
'background/logs.js',
'background/state.js',
'background/proxy.js',
'background/native-messaging.js',
'background/tab-lifecycle.js',
'background/message-router.js',
'background/background-main.js'
);