commit 889168f0f592c1b6ce7294d78fdd4a825d62819e
parent 7ba86566dd2ff8cf0523f1384fbdd4b60d8bab54
Author: awy <awy@awy.one>
Date: Thu, 21 Aug 2025 16:37:12 +0300
fixes
Diffstat:
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/configure_firefox.sh b/configure_firefox.sh
@@ -10,10 +10,10 @@ C='\e[1;96m' W='\e[1;97m'
URL_USER_JS="https://raw.githubusercontent.com/arkenfox/user.js/master/user.js"
URL_UPDATER_SH="https://raw.githubusercontent.com/arkenfox/user.js/master/updater.sh"
-URL_USER_OVERRIDES_JS="https://git.awy.one/raw/?repository=autofox.git&file=user-overrides.js"
-URL_USERCHROME_CSS="https://git.awy.one/raw/?repository=autofox.git&file=userChrome.css"
-URL_USERCONTENT_CSS="https://git.awy.one/raw/?repository=autofox.git&file=userContent.css"
-URL_UBLOCK_BACKUP="https://git.awy.one/raw/?repository=autofox.git&file=ublock_backup.txt"
+URL_USER_OVERRIDES_JS="https://git.awy.one/autofox.git/plain/user-overrides.js"
+URL_USERCHROME_CSS="https://git.awy.one/autofox.git/plain/userChrome.css"
+URL_USERCONTENT_CSS="https://git.awy.one/autofox.git/plain/userContent.css"
+URL_UBLOCK_BACKUP="https://git.awy.one/autofox.git/plain/ublock_backup.txt"
FILES_DIR="${HOME}/files"
USERNAME="$(id -nu "1000")"
diff --git a/user-overrides.js b/user-overrides.js
@@ -10,6 +10,8 @@ user_pref("permissions.default.desktop-notification", 2);
user_pref("permissions.default.camera", 2);
user_pref("permissions.default.geo", 2);
user_pref("permissions.default.microphone", 2);
+// disable persistent storage popup
+user_pref("permissions.default.persistent-storage", 2);
user_pref("cookiebanners.service.mode", 1);
user_pref("cookiebanners.service.mode.privateBrowsing", 1);
user_pref("cookiebanners.service.enableGlobalRules", true);
@@ -63,4 +65,5 @@ user_pref("general.smoothScroll.stopDecelerationWeighting", "1.0");
user_pref("mousewheel.default.delta_multiplier_y", 400); // 250-400; adjust this number to your liking
user_pref("privacy.resistFingerprinting", false);
+// to use yazi as filepicker
user_pref("widget.use-xdg-desktop-portal.file-picker", 1);