diff options
Diffstat (limited to 'webbrowser')
-rw-r--r-- | webbrowser/branding/shared/pref/uaoverrides.inc | 192 |
1 files changed, 96 insertions, 96 deletions
diff --git a/webbrowser/branding/shared/pref/uaoverrides.inc b/webbrowser/branding/shared/pref/uaoverrides.inc index a757cc0..3eab4d9 100644 --- a/webbrowser/branding/shared/pref/uaoverrides.inc +++ b/webbrowser/branding/shared/pref/uaoverrides.inc @@ -1,96 +1,96 @@ -// ===| Site Specific User Agent Overrides |===================================
-
-#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 WB_SLICE WebBrowser/@MOZ_APP_VERSION@
-#define FUCK_YOU STOP BLOCKING BROWSERS. https://anybrowser.org/campaign
-
-#define GK_VERSION @MOZILLA_COMPATVERSION_U@
-#define GK_SLICE Gecko/20100101
-#define FX_SLICE Firefox/@GK_VERSION@
-// %OS_SLICE% macro is resolved at runtime, see MoonchildProductions/UXP/issues/1473
-
-// Special-case AMO
-// We send the native UA slice now, since they no longer offer any compatible extensions for us.
-// This will result in an "only with Firefox" message which suits us fine, because it's the truth.
-pref("@GUAO_PREF@.addons.mozilla.org","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@");
-
-// Required for domains that have proven unresponsive to requests from users
-pref("@GUAO_PREF@.fafsa.ed.gov","@FUCK_YOU@");
-pref("@GUAO_PREF@.take.indeedassessments.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.meet.jit.si","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.live.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.msn.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.bing.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.outlook.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.web.de","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.aol.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.calendar.yahoo.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.google.com","Mozilla/5.0 (%OS_SLICE% rv:52.9) @GK_SLICE@ @GRE_VERSION_SLICE@ Firefox/52.9 @WB_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.googlevideos.com","Mozilla/5.0 (%OS_SLICE% rv:38.9) @GK_SLICE@ @GRE_VERSION_SLICE@ Firefox/38.9 @WB_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.gstatic.com","Mozilla/5.0 (%OS_SLICE% rv:31.9) @GK_SLICE@ @GRE_VERSION_SLICE@ Firefox/31.9 @WB_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.yahoo.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:42.0) @GK_SLICE@ Firefox/42.0 @WB_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.gaming.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:42.0) @GK_SLICE@ Firefox/42.0 @FUCK_YOU@");
-pref("@GUAO_PREF@.dropbox.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.app.codility.com", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.override.arxiv.org", "WebBrowser @FUCK_YOU@");
-pref("@GUAO_PREF@.fafsa.ed.gov", "@FUCK_YOU@");
-pref("@GUAO_PREF@.forum.palemoon.org", "WebBrowser");
-pref("@GUAO_PREF@.hcaptcha.com", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.jitsi.free.org", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.meet.jit.si", "Mozilla/5.0 (X11; Linux x86_64; rv:99.9) Gecko/20100101 Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.signin.ebay.com", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.take.indeedassessments.com", "Mozilla/5.0 (X11; Linux x86_64; rv:99.9) Gecko/20100101 Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.www.ebay.com", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.players.brightcove.net","Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko @FUCK_YOU@");
-
-// Domains that have specified they need a user-agent sent
-pref("@GUAO_PREF@.crates.io", "WebBrowser/@WB_SLICE@");
-pref("@GUAO_PREF@.e621.net", "WebBrowser/@WB_SLICE@");
-
-// The never-ending Facebook debacle...
-pref("@GUAO_PREF@.facebook.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.fbcdn.net","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Web Browser) @FUCK_YOU@");
-
-// The never-ending Cloudflare debacle...
-pref("@GUAO_PREF@.login.linode.com", "Mozilla/5.0 (X11; Linux x86_64; rv:99.9) Gecko/99999999 Firefox/99.9 @FUCK_YOU@");
-
-// UA-Sniffing domains below are pending responses from their operators - temp workaround
-pref("@GUAO_PREF@.chase.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.web.archive.org", "@FUCK_YOU@");
-pref("@GUAO_PREF@.tools.ietf.org", "@FUCK_YOU@");
-
-// For Amazon Prime videos
-pref("@GUAO_PREF@.www.amazon.com","Mozilla/5.0 (%OS_SLICE% rv:45.9) @GK_SLICE@ Firefox/45.9 (Web Browser) @FUCK_YOU@");
-// Soundcloud uses Firefox-exclusive combinations of code. Never pass Firefox slice.
-pref("@GUAO_PREF@.soundcloud.com","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@");
-// Daily motion only likes strict Firefox UAs
-pref("@GUAO_PREF@.dailymotion.com","Mozilla/5.0 (%OS_SLICE% rv:52.0) @GK_SLICE@ Firefox/52.0 @FUCK_YOU@");
-
-
-// The following requires native mode. Or it blocks.. "too old firefox", breakage, etc.
-pref("@GUAO_PREF@.deviantart.com","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.deviantart.net","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.altibox.dk","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.altibox.no","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.firefox.com","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@");
-
-// UA-Sniffing domains below have indicated no interest in supporting Web Browser (BOO!)
-pref("@GUAO_PREF@.humblebundle.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.privat24.ua","Mozilla/5.0 (%OS_SLICE% rv:38.0) @GK_SLICE@ Firefox/38.0 @FUCK_YOU@");
-pref("@GUAO_PREF@.citi.com","Mozilla/5.0 (%OS_SLICE% rv:57.0) @GK_SLICE@ Firefox/57.0 (Web Browser) @FUCK_YOU@");
-pref("@GUAO_PREF@.netflix.com","Mozilla/5.0 (%OS_SLICE% rv:45.9) @GK_SLICE@ Firefox/45.9 @FUCK_YOU@");
-pref("@GUAO_PREF@.netflximg.net","Mozilla/5.0 (%OS_SLICE% rv:45.9) @GK_SLICE@ Firefox/45.9 @FUCK_YOU@");
-
-// UA-sniffing domains that are "app/vendor-specific" and do not like Web Browser
-pref("@GUAO_PREF@.web.whatsapp.com","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 @FUCK_YOU@");
-
-// The following domains do not like the Goanna slice
-pref("@GUAO_PREF@.hitbox.tv","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ @FUCK_YOU@");
-pref("@GUAO_PREF@.yuku.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ @WB_SLICE@ @FUCK_YOU@");
-
-// ============================================================================
+// ===| Site Specific User Agent Overrides |=================================== + +#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 WB_SLICE WebBrowser/@MOZ_APP_VERSION@ +#define FUCK_YOU STOP BLOCKING BROWSERS. https://anybrowser.org/campaign + +#define GK_VERSION @MOZILLA_COMPATVERSION_U@ +#define GK_SLICE Gecko/20100101 +#define FX_SLICE Firefox/@GK_VERSION@ +// %OS_SLICE% macro is resolved at runtime, see MoonchildProductions/UXP/issues/1473 + +// Special-case AMO +// We send the native UA slice now, since they no longer offer any compatible extensions for us. +// This will result in an "only with Firefox" message which suits us fine, because it's the truth. +pref("@GUAO_PREF@.addons.mozilla.org","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@"); + +// Required for domains that have proven unresponsive to requests from users +pref("@GUAO_PREF@.fafsa.ed.gov","@FUCK_YOU@"); +pref("@GUAO_PREF@.take.indeedassessments.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.meet.jit.si","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.live.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.msn.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.bing.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.outlook.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.web.de","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.aol.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.calendar.yahoo.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.google.com","Mozilla/5.0 (%OS_SLICE% rv:52.9) @GK_SLICE@ @GRE_VERSION_SLICE@ Firefox/52.9 @WB_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.googlevideos.com","Mozilla/5.0 (%OS_SLICE% rv:38.9) @GK_SLICE@ @GRE_VERSION_SLICE@ Firefox/38.9 @WB_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.gstatic.com","Mozilla/5.0 (%OS_SLICE% rv:31.9) @GK_SLICE@ @GRE_VERSION_SLICE@ Firefox/31.9 @WB_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.yahoo.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:42.0) @GK_SLICE@ Firefox/42.0 @WB_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.gaming.youtube.com","Mozilla/5.0 (%OS_SLICE% rv:42.0) @GK_SLICE@ Firefox/42.0 @FUCK_YOU@"); +pref("@GUAO_PREF@.dropbox.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.app.codility.com", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.override.arxiv.org", "WebBrowser @FUCK_YOU@"); +pref("@GUAO_PREF@.fafsa.ed.gov", "@FUCK_YOU@"); +pref("@GUAO_PREF@.forum.palemoon.org", "WebBrowser"); +pref("@GUAO_PREF@.hcaptcha.com", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.jitsi.free.org", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.meet.jit.si", "Mozilla/5.0 (X11; Linux x86_64; rv:99.9) Gecko/20100101 Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.signin.ebay.com", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.take.indeedassessments.com", "Mozilla/5.0 (X11; Linux x86_64; rv:99.9) Gecko/20100101 Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.www.ebay.com", "Mozilla/5.0 Firefox/99.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.players.brightcove.net","Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko @FUCK_YOU@"); + +// Domains that have specified they need a user-agent sent +pref("@GUAO_PREF@.crates.io", "WebBrowser/@WB_SLICE@"); +pref("@GUAO_PREF@.e621.net", "WebBrowser/@WB_SLICE@"); + +// The never-ending Facebook debacle... +pref("@GUAO_PREF@.facebook.com","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.fbcdn.net","Mozilla/5.0 (%OS_SLICE% rv:99.9) @GK_SLICE@ Firefox/99.9 (Web Browser) @FUCK_YOU@"); + +// The never-ending Cloudflare debacle... +pref("@GUAO_PREF@.login.linode.com", "Mozilla/5.0 (X11; Linux x86_64; rv:99.9) Gecko/99999999 Firefox/99.9 @FUCK_YOU@"); + +// UA-Sniffing domains below are pending responses from their operators - temp workaround +pref("@GUAO_PREF@.chase.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.web.archive.org", "@FUCK_YOU@"); +pref("@GUAO_PREF@.tools.ietf.org", "@FUCK_YOU@"); + +// For Amazon Prime videos +pref("@GUAO_PREF@.www.amazon.com","Mozilla/5.0 (%OS_SLICE% rv:45.9) @GK_SLICE@ Firefox/45.9 (Web Browser) @FUCK_YOU@"); +// Soundcloud uses Firefox-exclusive combinations of code. Never pass Firefox slice. +pref("@GUAO_PREF@.soundcloud.com","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@"); +// Daily motion only likes strict Firefox UAs +pref("@GUAO_PREF@.dailymotion.com","Mozilla/5.0 (%OS_SLICE% rv:52.0) @GK_SLICE@ Firefox/52.0 @FUCK_YOU@"); + + +// The following requires native mode. Or it blocks.. "too old firefox", breakage, etc. +pref("@GUAO_PREF@.deviantart.com","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.deviantart.net","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.altibox.dk","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.altibox.no","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.firefox.com","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @WB_SLICE@ @FUCK_YOU@"); + +// UA-Sniffing domains below have indicated no interest in supporting Web Browser (BOO!) +pref("@GUAO_PREF@.humblebundle.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.privat24.ua","Mozilla/5.0 (%OS_SLICE% rv:38.0) @GK_SLICE@ Firefox/38.0 @FUCK_YOU@"); +pref("@GUAO_PREF@.citi.com","Mozilla/5.0 (%OS_SLICE% rv:57.0) @GK_SLICE@ Firefox/57.0 (Web Browser) @FUCK_YOU@"); +pref("@GUAO_PREF@.netflix.com","Mozilla/5.0 (%OS_SLICE% rv:45.9) @GK_SLICE@ Firefox/45.9 @FUCK_YOU@"); +pref("@GUAO_PREF@.netflximg.net","Mozilla/5.0 (%OS_SLICE% rv:45.9) @GK_SLICE@ Firefox/45.9 @FUCK_YOU@"); + +// UA-sniffing domains that are "app/vendor-specific" and do not like Web Browser +pref("@GUAO_PREF@.web.whatsapp.com","Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 @FUCK_YOU@"); + +// The following domains do not like the Goanna slice +pref("@GUAO_PREF@.hitbox.tv","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ @FUCK_YOU@"); +pref("@GUAO_PREF@.yuku.com","Mozilla/5.0 (%OS_SLICE% rv:@GK_VERSION@) @GK_SLICE@ @FX_SLICE@ @WB_SLICE@ @FUCK_YOU@"); + +// ============================================================================ |