From 4c585f86fb5051d48e632909638c64026a7e8309 Mon Sep 17 00:00:00 2001 From: Nishiki Date: Thu, 2 Jul 2026 09:10:44 -0700 Subject: [PATCH] fix(Firefox): include `background.scripts` in `manifest.json` Firefox 152.0.4 still uses `background.scripts` for the manifest, so when trying to load `main` as-is at the moment, the browser reports `background.service_worker is currently disabled. Add background.scripts`. This change enables Firefox to successfully load the extension. --- manifest.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 0f81e7c..30277cc 100644 --- a/manifest.json +++ b/manifest.json @@ -17,7 +17,8 @@ } ], "background": { - "service_worker": "background.js" + "service_worker": "background.js", + "scripts": ["background.js"] }, "permissions": ["tabs", "webNavigation"], "host_permissions": ["*://*.github.com/*", "*://github.com/*"],