mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-24 16:17:29 +09:00
Make cuckflare work
This commit is contained in:
parent
f915578491
commit
e75a07ae32
2 changed files with 8 additions and 0 deletions
|
|
@ -14,6 +14,10 @@
|
||||||
|
|
||||||
// %OS_SLICE% macro is resolved at runtime, see MoonchildProductions/UXP/issues/1473
|
// %OS_SLICE% macro is resolved at runtime, see MoonchildProductions/UXP/issues/1473
|
||||||
|
|
||||||
|
// Special-case Cuckflare
|
||||||
|
// With Lun3r useragent they send a challenge that fucks up the browser JS system. So we fake PM.
|
||||||
|
pref("@GUAO_PREF@.cloudflare.com","Mozilla/5.0 (%OS_SLICE% rv:@UXP_VERSION@) @UXP_DATE_SLICE@ @PALE_MOON_SLICE@");
|
||||||
|
|
||||||
// Special-case AMO
|
// Special-case AMO
|
||||||
// We send the native UA slice now, since they no longer offer any compatible extensions for us.
|
// 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.
|
// This will result in an "only with Firefox" message which suits us fine, because it's the truth.
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,10 @@
|
||||||
|
|
||||||
// %OS_SLICE% macro is resolved at runtime, see MoonchildProductions/UXP/issues/1473
|
// %OS_SLICE% macro is resolved at runtime, see MoonchildProductions/UXP/issues/1473
|
||||||
|
|
||||||
|
// Special-case Cuckflare
|
||||||
|
// With Lun3r useragent they send a challenge that fucks up the browser JS system. So we fake PM.
|
||||||
|
pref("@GUAO_PREF@.cloudflare.com","Mozilla/5.0 (%OS_SLICE% rv:@GRE_VERSION@) @GRE_DATE_SLICE@ @PM_SLICE@");
|
||||||
|
|
||||||
// Special-case AMO
|
// Special-case AMO
|
||||||
// We send the native UA slice now, since they no longer offer any compatible extensions for us.
|
// 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.
|
// This will result in an "only with Firefox" message which suits us fine, because it's the truth.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue