Updated patch

This commit is contained in:
Gerben Jan Dijkman 2024-06-04 17:11:50 +02:00
parent 79a5137455
commit ce061d8cbb
2 changed files with 0 additions and 28 deletions

View File

@ -1,27 +0,0 @@
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

View File

@ -12,7 +12,6 @@ SLOT="0"
KEYWORDS="~amd64 ~arm64" KEYWORDS="~amd64 ~arm64"
PATCHES=( PATCHES=(
"${FILESDIR}"/0001-src-prefs.js-disable-sandbox-for-non-ESR.patch
"${FILESDIR}"/disable-proton-ui.patch "${FILESDIR}"/disable-proton-ui.patch
) )