From 86e84dda0f3f0d0844a7f6294ac04e45c1a2615e Mon Sep 17 00:00:00 2001 From: roytam1 Date: Tue, 9 Jul 2024 17:07:30 +0800 Subject: [PATCH] [Pale-Moon] add MOZ_APP_UA_NAME and enable general.useragent.change_app_version for better compatibility --- application/palemoon/branding/shared/pref/preferences.inc | 3 +++ application/palemoon/confvars.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/application/palemoon/branding/shared/pref/preferences.inc b/application/palemoon/branding/shared/pref/preferences.inc index fe1a2f003c..4b08c29fa5 100644 --- a/application/palemoon/branding/shared/pref/preferences.inc +++ b/application/palemoon/branding/shared/pref/preferences.inc @@ -80,6 +80,9 @@ pref("services.sync.APILevel", 1); // FSyncMS doesn't support 'info/configuratio // Make sure we shortcut out of a11y to save walking unnecessary code pref("accessibility.force_disabled", 1); +pref("general.useragent.change_app_version", true); +pref("general.useragent.app_version", "33.2"); + // ============================================================================ // ===| DevTools |============================================================= diff --git a/application/palemoon/confvars.sh b/application/palemoon/confvars.sh index 2c55912de0..4f504264a0 100644 --- a/application/palemoon/confvars.sh +++ b/application/palemoon/confvars.sh @@ -10,6 +10,7 @@ # Pale Moon MOZ_APP_BASENAME=Palemoon MOZ_APP_VENDOR=Moonchild +MOZ_APP_UA_NAME=PaleMoon # Application Version # MOZ_APP_VERSION is read from ./config/version.txt