summaryrefslogtreecommitdiff
path: root/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
diff options
context:
space:
mode:
Diffstat (limited to 'home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js')
-rw-r--r--home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js28
1 files changed, 26 insertions, 2 deletions
diff --git a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
index fe0c8be6..edd8dd5d 100644
--- a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
+++ b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
@@ -6,13 +6,14 @@ user_pref("_user.js.parrot", "custom overrides: starting");
// douyu pay, bilibili stream watch and user space, pixiv some images not show
// now default for version 115.1 so no need
//user_pref("network.http.referer.XOriginPolicy", 0);
-// in the past: baidu
+// in the past: baidu; now: zwfwbl.cscse.edu.cn
//user_pref("security.ssl.require_safe_negotiation", false);
// fixes and issues unrelated to arkenfox user.js and addons:
// disable ublock origin:
// baidu drive save to my drive not working
// baidu drive verify phone when delete file not working
+// alipay login sliding shape challenge, maybe also need to disable ETP and RFP
// disable enhanced tracking protection:
// google drive can't download
// douyu verification for change password
@@ -26,13 +27,15 @@ user_pref("_user.js.parrot", "custom overrides: starting");
// mail.qq.com
// arkenfox v128 disabled these previously enabled options, I want to enable them
-// set to false to fix: image upload from local, image check not robot, disable surfingkey alt-s hotkey, twitch login and follow, douyin login, douyin chat in live streaming room, google map highway name, protomaps China province name, joinhandshake.com maybe need to disable this once, adobe express
+// set to false to fix: image upload from local, image check not robot, disable surfingkey alt-s hotkey, twitch login and follow, douyin login, douyin chat in live streaming room, google map highway name, protomaps China province name, joinhandshake.com maybe need to disable this once, adobe express, some VPS web VNC keyboard shift modifier not working (e.g., I can't press shift+[ to get { and instead I get [, also for all other keys)
user_pref("privacy.resistFingerprinting", true);
user_pref("privacy.resistFingerprinting.letterboxing", true);
// this can be used to disable RFP by domain, see user.js and https://github.com/arkenfox/user.js/issues/1804#issuecomment-2331701765
//user_pref("privacy.resistFingerprinting.exemptedDomains", "*.example.invalid");
// set to false to fix: labster, protomaps, starlink.com availability map, istheservicedown.com outage map, adobe express
user_pref("webgl.disabled", true);
+// pp maybe need this (disable OCSP) for its mobile network to work
+//user_pref("security.OCSP.enabled", 0);
// http://kb.mozillazine.org/Network.cookie.lifetimePolicy
// https://github.com/arkenfox/user.js/releases/tag/102.1
@@ -67,6 +70,19 @@ user_pref("media.autoplay.default", 5);
user_pref("gfx.webrender.all", true);
user_pref("media.ffmpeg.vaapi.enabled", true);
+// arkenfox user.js new verison 140 changed those from true to false, but I'm
+// used to the old behavior, so I changed them back. The first three settings
+// maybe obsolete in the future but I'm not sure, I just put them all here.
+// More see https://github.com/arkenfox/user.js/releases/tag/140.1 and
+// https://github.com/arkenfox/user.js/issues/1974.
+user_pref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", true);
+user_pref("privacy.clearSiteData.historyFormDataAndDownloads", true);
+user_pref("privacy.clearHistory.historyFormDataAndDownloads", true);
+user_pref("privacy.clearOnShutdown_v2.browsingHistoryAndDownloads", true);
+user_pref("privacy.clearOnShutdown_v2.downloads", true);
+user_pref("privacy.clearSiteData.browsingHistoryAndDownloads", true);
+user_pref("privacy.clearHistory.browsingHistoryAndDownloads", true);
+
// old about:config and settings, for perfsCleaner.sh
// use extensions on more sites
user_pref("extensions.webextensions.restrictedDomains", "");
@@ -95,6 +111,14 @@ user_pref("browser.urlbar.suggest.topsites", false);
//user_pref("browser.startup.page", 1);
//user_pref("browser.startup.homepage", "javascript:");
+// no need on pinephone
+//
+// chrome/userChrome.css need this for
+// chrome/firefox-csshacks/chrome/oneline_toolbar.css to work like old
+// chrome/firefox-csshacks/chrome/deprecated/navbar_tabs_oneliner.css with tab
+// on right instead of left
+user_pref("userchrome.navbar-tabs-oneliner.tabs-on-right.enabled", true);
+
// I switched to pass, no need firefox password manager anymore
user_pref("signon.rememberSignons", false);
// no need credit card save and autofill