summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-22 19:21:52 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-22 19:21:52 +0100
commit8ca6744b2ff05ef91d74e950f387df63b0306925 (patch)
treed5d4271c71a2f9b002354da4441e90882805097d
parent3403d5f049bf476a495c30026d5002db0e742887 (diff)
downloadUXP-8ca6744b2ff05ef91d74e950f387df63b0306925.tar
UXP-8ca6744b2ff05ef91d74e950f387df63b0306925.tar.gz
UXP-8ca6744b2ff05ef91d74e950f387df63b0306925.tar.lz
UXP-8ca6744b2ff05ef91d74e950f387df63b0306925.tar.xz
UXP-8ca6744b2ff05ef91d74e950f387df63b0306925.zip
Add SSUAO for polyfill.io
Financial Times' polyfill.io service horribly breaks when it finds anything but a short list of predefined UA strings. We have to send them a strict Firefox UA or other sites relying on it will break too (including PayPal!). An issue has been raised on their repo.
-rw-r--r--application/palemoon/branding/shared/pref/uaoverrides.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/palemoon/branding/shared/pref/uaoverrides.inc b/application/palemoon/branding/shared/pref/uaoverrides.inc
index 3e28225f4..36a0ae145 100644
--- a/application/palemoon/branding/shared/pref/uaoverrides.inc
+++ b/application/palemoon/branding/shared/pref/uaoverrides.inc
@@ -57,6 +57,9 @@ pref("@GUAO_PREF@.www.amazon.com","Mozilla/5.0 (@OS_SLICE@ rv:45.9) @GK_SLICE@ F
pref("@GUAO_PREF@.soundcloud.com","Mozilla/5.0 (@OS_SLICE@ rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @PM_SLICE@");
// Daily motion only likes strict Firefox UAs
pref("@GUAO_PREF@.dailymotion.com","Mozilla/5.0 (@OS_SLICE@ rv:52.0) @GK_SLICE@ Firefox/52.0");
+// Financial Times' polyfill.io breaks horribly on a Pale Moon UA. Send a strict Firefox UA instead.
+pref("@GUAO_PREF@.polyfill.io","Mozilla/5.0 (@OS_SLICE@ rv:60.9) @GK_SLICE@ Firefox/60.9");
+
// The following requires native mode. Or it blocks.. "too old firefox", breakage, etc.
pref("@GUAO_PREF@.deviantart.com","Mozilla/5.0 (@OS_SLICE@ rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @PM_SLICE@");