summaryrefslogtreecommitdiffstats
path: root/browser/branding/shared/uaoverrides.inc
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-02-18 10:38:55 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-02-18 10:38:55 +0100
commit5839763c827cc35973e419026f926e9b8ffc118d (patch)
tree11fd29c791adc491430a7a9b516224c2a724868e /browser/branding/shared/uaoverrides.inc
parent83c4b04a70d2319d4c292e7aa0c8872e7c1cd7fa (diff)
parent45f2fcd80d2a7d536e8b486c18415a337b56cb46 (diff)
downloadUXP-5839763c827cc35973e419026f926e9b8ffc118d.tar
UXP-5839763c827cc35973e419026f926e9b8ffc118d.tar.gz
UXP-5839763c827cc35973e419026f926e9b8ffc118d.tar.lz
UXP-5839763c827cc35973e419026f926e9b8ffc118d.tar.xz
UXP-5839763c827cc35973e419026f926e9b8ffc118d.zip
Merge branch 'master' into ported-moebius
# Conflicts: # browser/installer/windows/nsis/stub.nsi
Diffstat (limited to 'browser/branding/shared/uaoverrides.inc')
-rw-r--r--browser/branding/shared/uaoverrides.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/browser/branding/shared/uaoverrides.inc b/browser/branding/shared/uaoverrides.inc
new file mode 100644
index 000000000..13a89ed7f
--- /dev/null
+++ b/browser/branding/shared/uaoverrides.inc
@@ -0,0 +1,38 @@
+#define GUAO_PREF general.useragent.override
+
+#define GRE_VERSION @MOZILLA_UAVERSION_U@
+#define GRE_VERSION_SLICE Goanna/@GRE_VERSION@
+#define GRE_DATE_SLICE Goanna/20170101
+#define APP_SLICE Basilisk/@MOZ_APP_VERSION@
+
+#define GK_VERSION 52.0
+#define GK_SLICE Gecko/20100101
+#define FX_SLICE Firefox/@GK_VERSION@
+
+#ifdef XP_UNIX
+#ifndef XP_MACOSX
+#define OS_SLICE X11; Linux x86_64;
+#else
+#define OS_SLICE Macintosh; Intel Mac OS X 10.11;
+#endif
+#else
+#define OS_SLICE Windows NT 6.1; WOW64;
+#endif
+
+// FxA override
+pref("@GUAO_PREF@.accounts.firefox.com", "Mozilla/5.0 (@OS_SLICE@ rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@");
+
+// Required for domains that have proven unresponsive to requests from users
+
+// The never-ending Facebook debacle...
+
+// UA-Sniffing domains below are pending responses from their operators - temp workaround
+
+// The following requires native mode. Or it blocks.. "too old firefox", breakage, etc.
+
+// UA-Sniffing domains below have indicated no interest in supporting Pale Moon (BOO!)
+
+// UA-sniffing domains that are "app/vendor-specific" and do not like Pale Moon
+
+// The following domains do not like the Goanna slice
+