2021-01-10 18:18:42 +00:00
|
|
|
#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.9
|
|
|
|
|
#define GK_SLICE Gecko/20100101
|
|
|
|
|
#define FX_SLICE Firefox/@GK_VERSION@
|
|
|
|
|
|
2020-03-11 00:41:06 +02:00
|
|
|
// %OS_SLICE% macro is resolved at runtime, see MoonchildProductions/UXP#1473
|
2021-01-10 18:18:42 +00:00
|
|
|
|
|
|
|
|
// Mozilla overrides
|
2020-03-11 00:41:06 +02:00
|
|
|
pref("@GUAO_PREF@.accounts.firefox.com", "Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@");
|
|
|
|
|
pref("@GUAO_PREF@.addons.mozilla.org", "Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@");
|
2021-01-10 18:18:42 +00:00
|
|
|
|
2021-01-19 16:54:53 +00:00
|
|
|
// Required for domains that have proven unresponsive to requests from users (notice a trend...? ;) )
|
2020-03-11 00:41:06 +02:00
|
|
|
pref("@GUAO_PREF@.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:62.0) @GK_SLICE@ Firefox/62.0 @APP_SLICE@");
|
2021-01-19 16:54:53 +00:00
|
|
|
pref("@GUAO_PREF@.gaming.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:71.0) @GK_SLICE@ Firefox/71.0 @APP_SLICE@");
|
2021-03-16 22:42:48 +00:00
|
|
|
pref("@GUAO_PREF@.studio.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:68.0) @GK_SLICE@ @GRE_VERSION_SLICE@ Firefox/68.0 @APP_SLICE@");
|
2021-01-19 16:54:53 +00:00
|
|
|
pref("@GUAO_PREF@.netflix.com","Mozilla/5.0 (Windows NT 6.1; rv:42.0) @GK_SLICE@ Firefox/42.0 @APP_SLICE@");
|
|
|
|
|
pref("@GUAO_PREF@.netflximg.net","Mozilla/5.0 (Windows NT 6.1; rv:42.0) @GK_SLICE@ Firefox/42.0 @APP_SLICE@");
|
|
|
|
|
pref("@GUAO_PREF@.google.com","Mozilla/5.0 (%OS_SLICE% rv:71.0) @GK_SLICE@ Firefox/71.0 @APP_SLICE@");
|
|
|
|
|
pref("@GUAO_PREF@.googlevideos.com","Mozilla/5.0 (%OS_SLICE% rv:52.9) @GK_SLICE@ @GRE_VERSION_SLICE@ Firefox/52.9");
|
2021-01-10 18:18:42 +00:00
|
|
|
|
|
|
|
|
// Daily motion only likes strict Firefox UAs
|
2020-03-11 00:41:06 +02:00
|
|
|
pref("@GUAO_PREF@.dailymotion.com","Mozilla/5.0 (%OS_SLICE% rv:52.0) @GK_SLICE@ Firefox/52.0");
|
2021-01-10 18:18:42 +00:00
|
|
|
|
2021-01-19 16:54:53 +00:00
|
|
|
// UA-sniffing domains that are "app/vendor-specific" and do not like Basilisk
|
2020-03-11 00:41:06 +02:00
|
|
|
pref("@GUAO_PREF@.whatsapp.com","Mozilla/5.0 (%OS_SLICE% rv:68.0) @GK_SLICE@ Firefox/68.0");
|
2021-01-10 18:18:42 +00:00
|
|
|
|
|
|
|
|
// The following domains do not like the Goanna slice
|
2020-03-11 00:41:06 +02:00
|
|
|
pref("@GUAO_PREF@.hitbox.tv","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@");
|
|
|
|
|
pref("@GUAO_PREF@.yuku.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ @APP_SLICE@");
|