diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-17 10:56:35 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-17 10:56:35 -0500 |
commit | 170b82c2e254d3aa9b4e5f31f26dc89283a472a6 (patch) | |
tree | 215d9fdd1a77088cbd9361e69ac31d12709f5b71 /browser/branding/shared/uaoverrides.inc | |
parent | 827033c57c7529841b6045eb4615866def853001 (diff) | |
download | UXP-170b82c2e254d3aa9b4e5f31f26dc89283a472a6.tar UXP-170b82c2e254d3aa9b4e5f31f26dc89283a472a6.tar.gz UXP-170b82c2e254d3aa9b4e5f31f26dc89283a472a6.tar.lz UXP-170b82c2e254d3aa9b4e5f31f26dc89283a472a6.tar.xz UXP-170b82c2e254d3aa9b4e5f31f26dc89283a472a6.zip |
Reduce redundencies in Basilisk branding
Diffstat (limited to 'browser/branding/shared/uaoverrides.inc')
-rw-r--r-- | browser/branding/shared/uaoverrides.inc | 38 |
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
+
|