From 3757d93497565a7a180ff8576dea3dcd0a467f07 Mon Sep 17 00:00:00 2001
From: Quentin Gosset <quentingosset7500@hotmail.com>
Date: Thu, 3 Aug 2023 00:12:12 +0200
Subject: [PATCH] Update manifest.js
Fix problem with MV3 & for sandbox give possibility to all access
---
lib/manifest.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/manifest.js b/lib/manifest.js
index e09072a..9a9ee33 100644
--- a/lib/manifest.js
+++ b/lib/manifest.js
@@ -30,7 +30,7 @@ function getDefaultManifestAttributes (manifest, production) {
return {
content_security_policy: {
extension_pages: "script-src 'self'; object-src 'self'",
- sandbox: "script-src 'self'" + (production ? '' : " 'unsafe-eval'") + "; object-src 'self'"
+ sandbox: "sandbox allow-scripts allow-forms allow-popups allow-modals; script-src 'self' 'unsafe-inline' 'unsafe-eval'; child-src 'self';"
}
}