From 93705a7d00b2b09ee9b5d036b71c5be79b8d10a1 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 6 Dec 2018 11:52:41 +0100 Subject: Stop feeding a Firefox compat mode to AMO. Since AMO has removed all "legacy" extensions, they do not offer anything compatible with us any longer. We send the native UA to them from now on to always have it respond with "Only with Firefox". --- application/palemoon/branding/shared/pref/uaoverrides.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'application/palemoon/branding') diff --git a/application/palemoon/branding/shared/pref/uaoverrides.inc b/application/palemoon/branding/shared/pref/uaoverrides.inc index e5e727ee5..b33758ea9 100644 --- a/application/palemoon/branding/shared/pref/uaoverrides.inc +++ b/application/palemoon/branding/shared/pref/uaoverrides.inc @@ -21,6 +21,11 @@ #define OS_SLICE Windows NT 6.1; WOW64; #endif +// Special-case AMO +// We send the native UA slice now, since they no longer offer any compatible extensions for us. +// This will result in an "only with Firefox" message which suits us fine, because it's the truth. +pref("@GUAO_PREF@.addons.mozilla.org","Mozilla/5.0 (@OS_SLICE@ rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @PM_SLICE@"); + // Required for domains that have proven unresponsive to requests from users pref("@GUAO_PREF@.live.com","Mozilla/5.0 (@OS_SLICE@ rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Pale Moon)"); pref("@GUAO_PREF@.msn.com","Mozilla/5.0 (@OS_SLICE@ rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Pale Moon)"); -- cgit v1.2.3