summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-22 19:21:52 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-23 14:43:20 +0100
commit98bd23c78fd43d7d05b44e813c54c9c14bdfc4a0 (patch)
tree41cc350dd42fe0613ef1357a2aa180d8c7b5c80d
parenta5b2695841296d06eae7489f056ccc9b9040f14d (diff)
downloadUXP-98bd23c78fd43d7d05b44e813c54c9c14bdfc4a0.tar
UXP-98bd23c78fd43d7d05b44e813c54c9c14bdfc4a0.tar.gz
UXP-98bd23c78fd43d7d05b44e813c54c9c14bdfc4a0.tar.lz
UXP-98bd23c78fd43d7d05b44e813c54c9c14bdfc4a0.tar.xz
UXP-98bd23c78fd43d7d05b44e813c54c9c14bdfc4a0.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@");