[X2Go-Commits] [pale-moon] 148/294: Add SSUAO for polyfill.io

git-admin at x2go.org git-admin at x2go.org
Sat Apr 27 08:58:01 CEST 2019


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch upstream/28.5.0
in repository pale-moon.

commit 8ca6744b2ff05ef91d74e950f387df63b0306925
Author: wolfbeast <mcwerewolf at wolfbeast.com>
Date:   Fri Mar 22 19:21:52 2019 +0100

    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.
---
 application/palemoon/branding/shared/pref/uaoverrides.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/application/palemoon/branding/shared/pref/uaoverrides.inc b/application/palemoon/branding/shared/pref/uaoverrides.inc
index 3e28225..36a0ae1 100644
--- a/application/palemoon/branding/shared/pref/uaoverrides.inc
+++ b/application/palemoon/branding/shared/pref/uaoverrides.inc
@@ -57,6 +57,9 @@ pref("@GUAO_PREF at .www.amazon.com","Mozilla/5.0 (@OS_SLICE@ rv:45.9) @GK_SLICE@ F
 pref("@GUAO_PREF at .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 at .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 at .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 at .deviantart.com","Mozilla/5.0 (@OS_SLICE@ rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @PM_SLICE@");

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/pale-moon.git


More information about the x2go-commits mailing list