gjdwebserver-overlay/app-mobilephone/mobile-config-firefox/files/0001-src-prefs.js-disable-sandbox-for-non-ESR.patch

28 lines
1002 B
Diff
Raw Normal View History

2024-05-24 16:18:48 +02:00
From 953b5e3b6c5b2e2c4518a7af800554b319c69ff1 Mon Sep 17 00:00:00 2001
From: Danct12 <danct12@disroot.org>
Date: Fri, 12 Feb 2021 13:01:58 +0700
Subject: [PATCH] src/prefs.js: disable sandbox for non-ESR
https://support.mozilla.org/bm/questions/1236295#answer-1161622
Signed-off-by: Danct12 <danct12@disroot.org>
---
src/mobile-config-prefs.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mobile-config-prefs.js b/src/mobile-config-prefs.js
index c4a9a77..a32111c 100644
--- a/src/mobile-config-prefs.js
+++ b/src/mobile-config-prefs.js
@@ -4,6 +4,7 @@
// Set up autoconfig (we use it to copy/update userChrome.css into profile dir)
pref('general.config.filename', "mobile-config-autoconfig.js");
pref('general.config.obscure_value', 0);
+pref('general.config.sandbox_enabled', false);
// Select a mobile user agent for firefox (same as tor browser on android)
pref('general.useragent.override', 'Mozilla/5.0 (Android 9; Mobile; rv:78.0) Gecko/20100101 Firefox/78.0');
--
2.30.0