We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6165bf4 commit 1f002f0Copy full SHA for 1f002f0
1 file changed
scripts/pack.js
@@ -67,7 +67,7 @@ const firefoxManifest = { ...manifest, background: { ...manifest.background } };
67
const chromeManifest = { ...manifest, background: { ...manifest.background } };
68
69
delete chromeManifest.content_security_policy;
70
-delete chromeManifest.optional_permissions;
+chromeManifest.optional_permissions = chromeManifest.optional_permissions.filter((val) => val !== "userScripts");
71
delete chromeManifest.background.scripts;
72
73
delete firefoxManifest.background.service_worker;
0 commit comments