From 170b82c2e254d3aa9b4e5f31f26dc89283a472a6 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sat, 17 Feb 2018 10:56:35 -0500 Subject: Reduce redundencies in Basilisk branding --- browser/branding/shared/uaoverrides.inc | 38 +++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 browser/branding/shared/uaoverrides.inc (limited to 'browser/branding/shared/uaoverrides.inc') 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 + -- cgit v1.2.3